@@ -359,13 +359,13 @@ struct FPRepSem : public FPStorage<fp_type> {
359359 LIBC_INLINE static constexpr RetT inf (Sign sign = Sign::POS) {
360360 return RetT (encode (sign, BiasedExp::BITS_ALL_ONES (), Sig::ZERO ()));
361361 }
362- LIBC_INLINE static constexpr RetT build_nan (Sign sign = Sign::POS,
363- StorageType v = 0 ) {
362+ LIBC_INLINE static constexpr RetT signaling_nan (Sign sign = Sign::POS,
363+ StorageType v = 0 ) {
364364 return RetT (encode (sign, BiasedExp::BITS_ALL_ONES (),
365365 (v ? Sig (v) : (Sig::MSB () >> 1 ))));
366366 }
367- LIBC_INLINE static constexpr RetT build_quiet_nan (Sign sign = Sign::POS,
368- StorageType v = 0 ) {
367+ LIBC_INLINE static constexpr RetT quiet_nan (Sign sign = Sign::POS,
368+ StorageType v = 0 ) {
369369 return RetT (encode (sign, BiasedExp::BITS_ALL_ONES (), Sig::MSB () | Sig (v)));
370370 }
371371
@@ -448,13 +448,13 @@ struct FPRepSem<FPType::X86_Binary80, RetT>
448448 LIBC_INLINE static constexpr RetT inf (Sign sign = Sign::POS) {
449449 return RetT (encode (sign, BiasedExp::BITS_ALL_ONES (), Sig::MSB ()));
450450 }
451- LIBC_INLINE static constexpr RetT build_nan (Sign sign = Sign::POS,
452- StorageType v = 0 ) {
451+ LIBC_INLINE static constexpr RetT signaling_nan (Sign sign = Sign::POS,
452+ StorageType v = 0 ) {
453453 return RetT (encode (sign, BiasedExp::BITS_ALL_ONES (),
454454 Sig::MSB () | (v ? Sig (v) : (Sig::MSB () >> 2 ))));
455455 }
456- LIBC_INLINE static constexpr RetT build_quiet_nan (Sign sign = Sign::POS,
457- StorageType v = 0 ) {
456+ LIBC_INLINE static constexpr RetT quiet_nan (Sign sign = Sign::POS,
457+ StorageType v = 0 ) {
458458 return RetT (encode (sign, BiasedExp::BITS_ALL_ONES (),
459459 Sig::MSB () | (Sig::MSB () >> 1 ) | Sig (v)));
460460 }
@@ -577,14 +577,14 @@ struct FPRep : public FPRepSem<fp_type, RetT> {
577577 LIBC_INLINE static constexpr RetT zero (Sign sign = Sign::POS) {
578578 return RetT (encode (sign, BiasedExp::BITS_ALL_ZEROES (), Sig::ZERO ()));
579579 }
580- using UP::build_nan;
581- using UP::build_quiet_nan;
582580 using UP::inf;
583581 using UP::max_normal;
584582 using UP::max_subnormal;
585583 using UP::min_normal;
586584 using UP::min_subnormal;
587585 using UP::one;
586+ using UP::quiet_nan;
587+ using UP::signaling_nan;
588588
589589 // Modifiers
590590 LIBC_INLINE constexpr RetT abs () const {
0 commit comments