Module macros

Source

Macrosยง

cfg_if ๐Ÿ”’
libm cannot have dependencies, so this is vendored directly from the cfg-if crate (with some comments stripped for compactness).
hf16 ๐Ÿ”’
Construct a 16-bit float from hex float representation (C-style), guaranteed to evaluate at compile time.
hf32 ๐Ÿ”’
Construct a 32-bit float from hex float representation (C-style), guaranteed to evaluate at compile time.
hf64 ๐Ÿ”’
Construct a 64-bit float from hex float representation (C-style), guaranteed to evaluate at compile time.
hf128 ๐Ÿ”’
Construct a 128-bit float from hex float representation (C-style), guaranteed to evaluate at compile time.
select_implementation ๐Ÿ”’
Choose between using an arch-specific implementation and the function body. Returns directly if the arch implementation is used, otherwise continue with the rest of the function.