Home
last modified time | relevance | path

Searched refs:hes (Results 1 - 1 of 1) sorted by relevance

/third_party/libwebsockets/lib/misc/
H A Dieeehalfprecision.c92 int hes; in lws_singles2halfp() local
125 hes = ((int)(xe >> 23)) - 127 + 15; in lws_singles2halfp()
127 if (hes >= 0x1F) { // Overflow in lws_singles2halfp()
132 if (hes <= 0) { // Underflow in lws_singles2halfp()
133 if ((14 - hes) > 24) in lws_singles2halfp()
141 hm = (uint16_t) (xm >> (14 - hes)); // Mantissa in lws_singles2halfp()
142 if ((xm >> (13 - hes)) & 1u) // Check for rounding in lws_singles2halfp()
153 he = (uint16_t)(hes << 10); // Exponent in lws_singles2halfp()

Completed in 1 milliseconds