summaryrefslogtreecommitdiff
path: root/Modelica-Arduino-MDD_Arduino_Revised/Resources/src/mfloor.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modelica-Arduino-MDD_Arduino_Revised/Resources/src/mfloor.c')
-rwxr-xr-xModelica-Arduino-MDD_Arduino_Revised/Resources/src/mfloor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modelica-Arduino-MDD_Arduino_Revised/Resources/src/mfloor.c b/Modelica-Arduino-MDD_Arduino_Revised/Resources/src/mfloor.c
new file mode 100755
index 0000000..3c9e884
--- /dev/null
+++ b/Modelica-Arduino-MDD_Arduino_Revised/Resources/src/mfloor.c
@@ -0,0 +1,6 @@
+#include <math.h>
+
+int mfloor(double x)
+{
+ return floor(x);
+} \ No newline at end of file