MCPcopy Create free account
hub / github.com/numpy/numpy / Dragon4_PrintFloat_IEEE_binary128_be

Function Dragon4_PrintFloat_IEEE_binary128_be

numpy/core/src/multiarray/dragon4.c:2823–2835  ·  view source on GitHub ↗

* This function is untested, very few, if any, architectures implement * big endian IEEE binary128 floating point. */

Source from the content-addressed store, hash-verified

2821 * big endian IEEE binary128 floating point.
2822 */
2823static npy_uint32
2824Dragon4_PrintFloat_IEEE_binary128_be(
2825 Dragon4_Scratch *scratch, npy_float128 *value, Dragon4_Options *opt)
2826{
2827 FloatVal128 val128;
2828 FloatUnion128 buf128;
2829
2830 buf128.floatingPoint = *value;
2831 val128.lo = buf128.integer.b;
2832 val128.hi = buf128.integer.a;
2833
2834 return Dragon4_PrintFloat_IEEE_binary128(scratch, val128, opt);
2835}
2836#endif /* HAVE_LDOUBLE_IEEE_QUAD_BE */
2837
2838#endif /* HAVE_LDOUBLE_IEEE_QUAD_LE | HAVE_LDOUBLE_IEEE_BE*/

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected