l

Dependencies:   mbed Asser2

Revision:
2:3066e614372f
Parent:
0:38dbe2988e77
Child:
4:eac6746544fb
--- a/math_precalc.cpp	Wed Apr 17 15:49:42 2019 +0000
+++ b/math_precalc.cpp	Wed May 08 21:19:10 2019 +0000
@@ -85,4 +85,12 @@
 		return -1;
 	}
 	return 0;
+}
+float min(float f1, float f2){
+	if (f1-f2>0){
+		return f2;
+	}
+	else{
+		return f1;
+	}
 }
\ No newline at end of file