Functions | |
Bool | CompareFloatTolerant (Float32 a, Float32 b) |
Bool | CompareFloatTolerant (Float64 a, Float64 b) |
Bool | CheckFloat (Float32 r) |
Bool | CheckFloat (Float64 r) |
Float32 | RepairFloat (Float32 r) |
Float64 | RepairFloat (Float64 r) |
Checks if two floats are close to each other on a bit basis (rather than a fixed epsilon).
Single precision version.
[in] | a | A float value. |
[in] | b | A float value. |
Checks if two floats are close to each other on a bit basis (rather than a fixed epsilon).
Double precision version.
[in] | a | A float value. |
[in] | b | A float value. |
Checks if r is a valid floating point number.
Single precision version.
[in] | r | The value to check. |
Checks if r is a valid floating point number.
Double precision version.
[in] | r | The value to check. |
Repairs floating point values.
Single precision version.
[in] | r | The float value to repair. |
Repairs floating point values.
Double precision version.
[in] | r | The float value to repair. |