|
CTS-SAT-1-OBC-Firmware
|

Functions | |
| uint8_t | GEN_compare_doubles (double a, double b, double epsilon) |
| Returns 1 if a and b are approximately equal to each other (within epsilon), 0 otherwise. | |
| uint8_t | GEN_compare_floats (float a, float b, float epsilon) |
| Returns 1 if a and b are approximately equal to each other (within epsilon), 0 otherwise. | |
| uint64_t | GEN_abs_int64 (int64_t value) |
| Returns the absolute value of an int64_t. | |
| uint64_t GEN_abs_int64 | ( | int64_t | value | ) |
Returns the absolute value of an int64_t.
| value | Input signed 64-bit number |

| uint8_t GEN_compare_doubles | ( | double | a, |
| double | b, | ||
| double | epsilon ) |
Returns 1 if a and b are approximately equal to each other (within epsilon), 0 otherwise.

| uint8_t GEN_compare_floats | ( | float | a, |
| float | b, | ||
| float | epsilon ) |
Returns 1 if a and b are approximately equal to each other (within epsilon), 0 otherwise.