… | |
… | |
671 | #else |
671 | #else |
672 | #define ECB_NAN ECB_INFINITY |
672 | #define ECB_NAN ECB_INFINITY |
673 | #endif |
673 | #endif |
674 | |
674 | |
675 | #if ECB_C99 || _XOPEN_VERSION >= 600 || _POSIX_VERSION >= 200112L |
675 | #if ECB_C99 || _XOPEN_VERSION >= 600 || _POSIX_VERSION >= 200112L |
676 | #define ecb_ldexpf(x,e) ldexpf (x, e) |
676 | #define ecb_ldexpf(x,e) ldexpf ((x), (e)) |
677 | #else |
677 | #else |
678 | #define ecb_ldexpf(x,e) (float) ldexp ((double)(x), e) |
678 | #define ecb_ldexpf(x,e) (float) ldexp ((x), (e)) |
679 | #endif |
679 | #endif |
680 | |
680 | |
681 | /* converts an ieee half/binary16 to a float */ |
681 | /* converts an ieee half/binary16 to a float */ |
682 | ecb_function_ float ecb_binary16_to_float (uint16_t x) ecb_const; |
682 | ecb_function_ float ecb_binary16_to_float (uint16_t x) ecb_const; |
683 | ecb_function_ float |
683 | ecb_function_ float |