… | |
… | |
694 | #endif |
694 | #endif |
695 | |
695 | |
696 | #if ECB_C99 || _XOPEN_VERSION >= 600 || _POSIX_VERSION >= 200112L |
696 | #if ECB_C99 || _XOPEN_VERSION >= 600 || _POSIX_VERSION >= 200112L |
697 | #define ecb_ldexpf(x,e) ldexpf ((x), (e)) |
697 | #define ecb_ldexpf(x,e) ldexpf ((x), (e)) |
698 | #else |
698 | #else |
699 | #define ecb_ldexpf(x,e) (float) ldexp ((x), (e)) |
699 | #define ecb_ldexpf(x,e) (float) ldexp ((float) (x), (e)) |
700 | #endif |
700 | #endif |
701 | |
701 | |
702 | /* converts an ieee half/binary16 to a float */ |
702 | /* converts an ieee half/binary16 to a float */ |
703 | ecb_function_ ecb_const float ecb_binary16_to_float (uint16_t x); |
703 | ecb_function_ ecb_const float ecb_binary16_to_float (uint16_t x); |
704 | ecb_function_ ecb_const float |
704 | ecb_function_ ecb_const float |