2 * Copyright (c) 2005-2020 Rich Felker, et al.
4 * SPDX-License-Identifier: MIT
6 * Please see https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT
7 * for all contributors to musl.
12 float scalbnf(float x, int n)
14 union {float f; uint32_t i;} u;
26 } else if (n < -126) {
27 y *= 0x1p-126f * 0x1p24f;
30 y *= 0x1p-126f * 0x1p24f;
36 u.i = (uint32_t)(0x7f+n)<<23;
41 __strong_reference(scalbnf, ldexpf);