Module nanowasm::util
[−]
[src]
Misc numerical stuff and other handy functions.
Functions
copysign |
fcopysign: |
f32_is_signaling_nan |
Returns whether or not the float is a signaling NaN.
A signaling NaN has a format like:
|
f64_is_signaling_nan |
Same as |
round_to_int |
Rounds the float into the given integer type. |
truncate_to_int |
Truncates the float into the given integer type. |
u32_to_f32 |
A convenience function for doing a bitwise conversion of a u32 to an f32.
We don't just use |
u64_to_f64 |
A convenience function for doing a bitwise conversion of a u64 to an f64
We don't just use |