Home
last modified time | relevance | path

Searched refs:NaN (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/lib/libc/softfloat/templates/
H A Dsoftfloat-specialize57 Internal canonical NaN format.
67 The pattern for a default generated single-precision NaN.
74 Returns 1 if the single-precision floating-point value `a' is a NaN;
88 NaN; otherwise returns 0.
100 Returns the result of converting the single-precision floating-point NaN
101 `a' to the canonical NaN format. If `a' is a signaling NaN, the invalid
119 Returns the result of converting the canonical NaN `a' to the single-
133 is a NaN, and returns the appropriate NaN result. If either `a' or `b' is a
134 signaling NaN, the invalid exception is raised.
159 The pattern for a default generated double-precision NaN.
[all …]
/freebsd/lib/libc/softfloat/
H A Dsoftfloat-specialize98 Internal canonical NaN format.
108 The pattern for a default generated single-precision NaN.
115 Returns 1 if the single-precision floating-point value `a' is a NaN;
132 NaN; otherwise returns 0.
148 Returns the result of converting the single-precision floating-point NaN
149 `a' to the canonical NaN format. If `a' is a signaling NaN, the invalid
167 Returns the result of converting the canonical NaN `a' to the single-
181 is a NaN, and returns the appropriate NaN result. If either `a' or `b' is a
182 signaling NaN, the invalid exception is raised.
207 The pattern for a default generated double-precision NaN.
[all …]
H A Dsoftfloat.txt58 Signaling NaN Test Functions
226 size (32 or 64 bits). If the floating-point operand is a NaN, the largest
322 functions raise the invalid exception if either input is any kind of NaN.
333 except that the invalid exception is raised for any NaN input. Likewise,
338 Signaling NaN Test Functions
341 NaN:
349 NaN and 0 otherwise.
/freebsd/contrib/bmake/unit-tests/
H A Dcond-cmp-numeric.mk21 .if ${:UNaN} > NaN
29 .if !(${:UNaN} == NaN)
H A Dcond-cmp-numeric.exp3 CondParser_Eval: ${:UNaN} > NaN
5 CondParser_Eval: !(${:UNaN} == NaN)
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_mul_impl.inc25 // Detect if a or b is zero, denormal, infinity, or NaN.
32 // NaN * anything = qNaN
35 // anything * NaN = qNaN
43 // infinity * zero = NaN
52 // zero * infinity = NaN
H A Dfp_add_impl.inc23 // Detect if a or b is zero, infinity, or NaN.
26 // NaN + anything = qNaN
29 // anything + NaN = qNaN
H A Dfp_div_impl.inc45 // Detect if a or b is zero, denormal, infinity, or NaN.
52 // NaN / anything = qNaN
55 // anything / NaN = qNaN
60 // infinity / infinity = NaN
73 // zero / zero = NaN
412 // Do not round Infinity to NaN
H A Dfp_compare_impl.inc50 // If either a or b is NaN, they are unordered.
H A DREADME.txt304 // iff a == b and neither is NaN.
306 // iff a == b and neither is NaN.
/freebsd/contrib/mandoc/
H A Dpredefs.in36 PREDEF("Na", "NaN")
/freebsd/contrib/gdtoa/
H A DREADME167 NaN and Infinity syntax. Moreover, unless No_Hex_NaN is #defined, the
168 strto* routines also recognize C99's NaN(...) syntax: they accept
169 (case insensitively) strings of the form NaN(x), where x is a string
172 NaN; if there are two or more strings of hexadecimal digits, each
H A Dprintf.c0181 /* Infinity or NaN */
243 /* Infinity or NaN */
496 /* Infinity or NaN */
1246 s = "NaN";
H A Dchanges100 strtod check (case insensitively) for "Infinity" and "NaN" on machines
279 hexadecimal digits and spaces, as a NaN whose value is constructed
412 giving the system-dependent format of a quiet NaN (the one generated
416 as NaN rather than unacceptable input (causing return 0). Adjust
571 accepting (e.g.) ".nan" or ".inf" as NaN or Infinity.
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstPropagation.cpp66 NaN = 0x0010, enumerator
68 NumericProperties = (Zero|NonZero|Finite|Infinity|NaN|SignedZero),
448 return (Props & ~NumericProperties) | NaN; in deduce()
491 if (Ps & ConstantProperties::NaN) in print()
1243 // Should never see NaN here, but check for it for completeness. in evaluateCMPpi()
1244 if (Props & ConstantProperties::NaN) in evaluateCMPpi()
1308 if ((Props1 & P::NaN) && (Props2 & P::NaN)) in evaluateCMPpp()
2222 if (Ps & (P::Zero|P::NaN)) { in evaluate()
2223 uint32_t Ns = (Ps & (P::Zero|P::NaN| in evaluate()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DGenericOpcodes.td800 // In the case where a single input is a NaN (either signaling or quiet),
801 // the non-NaN input is returned.
823 // If one input is a signaling NaN, returns a quiet NaN. This matches
843 // FMINIMUM/FMAXIMUM - NaN-propagating minimum/maximum that also treat -0.0
1061 // This returns NaN for negative nonzero values.
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DREADME.txt47 The min/max instructions aren't exactly a<b?a:b because of NaN and negative zero
H A DWebAssemblyInstrSIMD.td788 // Lower float comparisons that don't care about NaN to standard WebAssembly
1262 // NaN-propagating minimum: min
1265 // NaN-propagating maximum: max
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1007 APFloat NaN = APFloat::getNaN(Semantics, Negative, Payload); in getNaN() local
1008 Constant *C = get(Ty->getContext(), NaN); in getNaN()
1018 APFloat NaN = APFloat::getQNaN(Semantics, Negative, Payload); in getQNaN() local
1019 Constant *C = get(Ty->getContext(), NaN); in getQNaN()
1029 APFloat NaN = APFloat::getSNaN(Semantics, Negative, Payload); in getSNaN() local
1030 Constant *C = get(Ty->getContext(), NaN); in getSNaN()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips.td71 "IEEE 754-2008 NaN encoding">;
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrInfo.td513 def CC_NAN : CC_VAL<14>; // NaN
514 def CC_GNAN : CC_VAL<15>; // Greater or NaN
515 def CC_LNAN : CC_VAL<16>; // Less or NaN
516 def CC_NENAN : CC_VAL<17>; // Not Equal or NaN
517 def CC_EQNAN : CC_VAL<18>; // Equal or NaN
518 def CC_GENAN : CC_VAL<19>; // Greater or Equal or NaN
519 def CC_LENAN : CC_VAL<20>; // Less or Equal or NaN
/freebsd/contrib/libcbor/
H A DCHANGELOG.md76 - Fix bad encoding of NaN half-floats [[Fixes #53]](https://github.com/PJK/libcbor/issues/53) (discovered by [BSipos-RKF](https://github.com/BSipos-RKF))
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticCommonKinds.td79 "use of %select{infinity|NaN}0%select{| via a macro}1 is undefined behavior "
H A DCodeGenOptions.def438 /// propagate signaling NaN inputs per IEEE 754-2008 (AMDGPU Only)
/freebsd/contrib/googletest/docs/reference/
H A Dmatchers.md73 | `IsNan()` | `argument` is any floating-point type with a NaN value. |

12