Home
last modified time | relevance | path

Searched refs:POS (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/x86_64/
H A DNextAfterLongDouble.h51 from_bits = FPBits::min_subnormal(from > to ? Sign::NEG : Sign::POS); in nextafter()
87 if (from_bits == FPBits::min_normal(Sign::POS)) { in nextafter()
88 from_bits = FPBits::max_subnormal(Sign::POS); in nextafter()
99 if (from_bits == FPBits::max_subnormal(Sign::POS)) { in nextafter()
100 from_bits = FPBits::min_normal(Sign::POS); in nextafter()
H A DNextUpDownLongDouble.h26 constexpr Sign sign = IsDown ? Sign::NEG : Sign::POS; in nextupdown()
/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/
H A DFPBits.h360 return (bits & SIGN_MASK) ? Sign::NEG : Sign::POS;
390 LIBC_INLINE static constexpr RetT zero(Sign sign = Sign::POS) {
393 LIBC_INLINE static constexpr RetT one(Sign sign = Sign::POS) {
396 LIBC_INLINE static constexpr RetT min_subnormal(Sign sign = Sign::POS) {
399 LIBC_INLINE static constexpr RetT max_subnormal(Sign sign = Sign::POS) {
403 LIBC_INLINE static constexpr RetT min_normal(Sign sign = Sign::POS) {
406 LIBC_INLINE static constexpr RetT max_normal(Sign sign = Sign::POS) {
409 LIBC_INLINE static constexpr RetT inf(Sign sign = Sign::POS) {
412 LIBC_INLINE static constexpr RetT signaling_nan(Sign sign = Sign::POS,
417 LIBC_INLINE static constexpr RetT quiet_nan(Sign sign = Sign::POS,
[all …]
H A DDivisionAndRemainderOperations.h48 (xbits.sign() == ybits.sign() ? Sign::POS : Sign::NEG); in remquo()
53 xbits.set_sign(Sign::POS); in remquo()
54 ybits.set_sign(Sign::POS); in remquo()
82 NormalFloat<T> remainder(Sign::POS, exp + normaly.exponent, mx); in remquo()
H A Ddyadic_float.h91 Sign sign = Sign::POS;
200 return FPBits::max_normal(Sign::POS).get_val(); in generic_as()
205 return FPBits::inf(Sign::POS).get_val(); in generic_as()
349 FPBits<T>::create_value(Sign::POS, in fast_as()
355 FPBits<T>::create_value(Sign::POS, in fast_as()
571 result.sign = (a.sign != b.sign) ? Sign::NEG : Sign::POS; in quick_mul()
594 Sign result_sign = (a.sign != b.sign) ? Sign::NEG : Sign::POS; in rounded_mul()
620 DyadicFloat<Bits> x(Sign::POS, -32 - a.exponent - int(Bits), in approx_reciprocal()
625 DyadicFloat<Bits> two(Sign::POS, 1, 1); in approx_reciprocal()
H A DManipulationFunctions.h177 if ((sign == Sign::POS && rounding_mode == FE_DOWNWARD) ||
192 if ((sign == Sign::POS && rounding_mode == FE_UPWARD) ||
250 constexpr Sign sign = IsDown ? Sign::NEG : Sign::POS;
H A DBasicOperations.h353 DyadicFloat<FPBits::STORAGE_LEN> payload_dfloat(Sign::POS, 0, payload); in getpayload()
370 res = FPBits::quiet_nan(Sign::POS).get_val(); in setpayload()
387 res = FPBits::signaling_nan(Sign::POS, v).get_val(); in setpayload()
389 res = FPBits::quiet_nan(Sign::POS, v).get_val(); in setpayload()
H A Dbfloat16.h35 Sign sign = Sign::POS; in BFloat16()
H A Dfpbits_str.h63 s += sign_char(x.get_implicit_bit() ? Sign::NEG : Sign::POS); in str()
H A DNearestIntegerOperations.h303 FPBits<T>::create_value(Sign::POS, range_exp, EXPLICIT_BIT).get_val() - in fromfp()
325 FPBits<T>::create_value(Sign::POS, range_exp, EXPLICIT_BIT).get_val() - in fromfp()
H A DNormalFloat.h48 Sign sign = Sign::POS;
/freebsd/contrib/llvm-project/libc/src/__support/
H A Dsign.h29 static const Sign POS; member
42 LIBC_INLINE_VAR constexpr Sign Sign::POS = Sign(false);
H A Dfloat_to_string.h236 fputil::DyadicFloat<INT_SIZE> num(Sign::POS, 0, 1); in get_table_positive_df()
246 Sign::POS, -276, FIVE_EXP_MINUS_NINE_MANT); in get_table_positive_df()
344 fputil::DyadicFloat<INT_SIZE> num(Sign::POS, 0, 1); in get_table_negative_df()
351 static const fputil::DyadicFloat<INT_SIZE> TEN_EXP_NINE(Sign::POS, 0, in get_table_negative_df()
H A Dcomplex_basic_ops.h30 Complex<real_t>{(fputil::FPBits<real_t>::inf(Sign::POS).get_val()), in project()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlobject.c243 #define POS "\"]" macro
269 bufflen -= LL(PRE RETS POS) + 1; /* save space for prefix+suffix+'\0' */ in luaO_chunkid()
279 memcpy(out, POS, (LL(POS) + 1) * sizeof(char)); in luaO_chunkid()
/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/generic/
H A Dadd_sub.h99 return OutFPBits::zero(Sign::POS).get_val(); in add_or_sub()
124 return OutFPBits::zero(Sign::POS).get_val(); in add_or_sub()
128 Sign result_sign = Sign::POS; in add_or_sub()
H A Dsqrt.h94 if (bits == InFPBits::inf(Sign::POS) || bits.is_zero() || bits.is_nan()) {
162 DyadicFloat yd(Sign::POS, (x_exp >> 1) - 2 - InFPBits::FRACTION_LEN, y);
H A DFMod.h284 sx.set_sign(Sign::POS); in eval()
285 sy.set_sign(Sign::POS); in eval()
H A Dsqrt_80_bit_long_double.h48 if (bits == LDBits::inf(Sign::POS) || bits.is_zero() || bits.is_nan()) { in sqrt()
H A Dmul.h44 Sign result_sign = x_bits.sign() == y_bits.sign() ? Sign::POS : Sign::NEG; in mul()
H A Ddiv.h43 Sign result_sign = x_bits.sign() == y_bits.sign() ? Sign::POS : Sign::NEG; in div()
/freebsd/contrib/lua/src/
H A Dlobject.c563 #define POS "\"]" macro
589 bufflen -= LL(PRE RETS POS) + 1; /* save space for prefix+suffix+'\0' */ in luaO_chunkid()
599 memcpy(out, POS, (LL(POS) + 1) * sizeof(char)); in luaO_chunkid()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp696 ProfOStream POS(OS); in write() local
697 return writeImpl(POS); in write()
701 ProfOStream POS(OS); in write() local
702 return writeImpl(POS); in write()
/freebsd/contrib/file/magic/Magdir/
H A Dbioinformatics161 # SAM Alignment POS
/freebsd/libexec/rc/
H A Drc.subr560 # sort_lite [-b] [-n] [-k POS] [-t SEP]
578 # NB: Unlike sort(1) only one POS allowed
620 curitem_haskey=1 # Assume sort field (-k POS) exists
635 # Shift modified comparison value if sort field (-k POS) is > 1
660 # Apply optional trim (-k POS.TRIM) to cut leading characters
708 # Shift modified value if sort field (-k POS) is > 1
733 # Apply optional trim (-k POS.TRIM), cut leading chars

12