Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: cc3000_ping_demo_try_2
Fork of mbed by
Diff: helper.h
- Revision:
- 11:1c1ebd0324fa
- Parent:
- 10:fcb9359f0959
- Child:
- 12:f63353af7be8
diff -r fcb9359f0959 -r 1c1ebd0324fa helper.h
--- a/helper.h Thu May 14 14:44:00 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/* mbed Microcontroller Library - Helper
- * Copyright (c) 2007-2008, sford
- */
-
-#ifndef MBED_HELPER_H
-#define MBED_HELPER_H
-
-/* Section: helper
- * A collection of useful functions not found in the standard C libraries
- */
-
-namespace mbed {
-
-/* Function: min
- * Return the minimum of two integers
- */
-int min(int a, int b);
-
-/* Function: min
- * Return the minimum of two floating-point numbers
- */
-float min(float a, float b);
-
-/* Function: max
- * Return the maximum of two integers
- */
-int max(int a, int b);
-
-/* Function: max
- * Return the maximum of two floating-point numbers
- */
-float max(float a, float b);
-
-/* Function: clamp
- * Return the value, clamped between a minimum and maximum integer value
- */
-int clamp(int value, int minimum, int maximum);
-
-/* Function: clamp
- * Return the value, clamped between a minimum and maximum floating-point value
- */
-float clamp(float value, float minimum, float maximum);
-
-} // namespace mbed
-
-#endif
-
