Home
last modified time | relevance | path

Searched refs:NaN (Results 1 – 25 of 49) 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
417 // 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.txt299 // iff a == b and neither is NaN.
301 // iff a == b and neither is NaN.
/freebsd/contrib/libcbor/doc/source/api/
H A Dtype_7_floats_ctrls.rst73 …naling NaNs <https://en.wikipedia.org/wiki/NaN#Signaling_NaN)>`_ are always encoded as a standard,…
/freebsd/contrib/mandoc/
H A Dpredefs.in36 PREDEF("Na", "NaN")
/freebsd/contrib/libcbor/
H A DCHANGELOG.md25 - BREAKING: Changes to NaN encoding
26 - [Fix NaN encoding on Windows](https://github.com/PJK/libcbor/issues/271)
27 - [Fix NaN encoding on mips/mipsel](https://github.com/PJK/libcbor/issues/329)
115 - Fix bad encoding of NaN half-floats [[Fixes #53]](https://github.com/PJK/libcbor/issues/53) (disc…
/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),
429 return (Props & ~NumericProperties) | NaN; in deduce()
472 if (Ps & ConstantProperties::NaN) in print()
1227 if (Props & ConstantProperties::NaN) in evaluateCMPpi()
1291 if ((Props1 & P::NaN) && (Props2 & P::NaN)) in evaluateCMPpp()
2220 if (Ps & (P::Zero|P::NaN)) { in evaluate()
2221 uint32_t Ns = (Ps & (P::Zero|P::NaN|P::SignProperties)); in evaluate()
/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
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DGenericOpcodes.td849 // In the case where a single input is a NaN (either signaling or quiet),
850 // the non-NaN input is returned.
872 // If one input is a signaling NaN, returns a quiet NaN. This matches
892 // FMINIMUM/FMAXIMUM - NaN-propagating minimum/maximum that also treat -0.0
1139 // This returns NaN for negative nonzero values.
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1028 APFloat NaN = APFloat::getNaN(Semantics, Negative, Payload); in getNaN() local
1029 Constant *C = get(Ty->getContext(), NaN); in getNaN()
1039 APFloat NaN = APFloat::getQNaN(Semantics, Negative, Payload); in getQNaN() local
1040 Constant *C = get(Ty->getContext(), NaN); in getQNaN()
1050 APFloat NaN = APFloat::getSNaN(Semantics, Negative, Payload); in getSNaN() local
1051 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/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.td304 multiclass FMINIMUMMAXIMUM<string OpcStr, bit NaN, SDNode OpNode> {
305 defvar nan_str = !if(NaN, ".NaN", "");
306 if !not(NaN) then {
1024 defm MIN : FMINIMUMMAXIMUM<"min", /* NaN */ false, fminnum>;
1025 defm MAX : FMINIMUMMAXIMUM<"max", /* NaN */ false, fmaxnum>;
1026 defm MIN_NAN : FMINIMUMMAXIMUM<"min", /* NaN */ true, fminimum>;
1027 defm MAX_NAN : FMINIMUMMAXIMUM<"max", /* NaN */ true, fmaximum>;
H A DNVPTXIntrinsics.td320 multiclass REDUX_SYNC_F<string BinOp, string abs, string NaN> {
321 …defvar intr_name = "int_nvvm_redux_sync_f" # BinOp # !subst(".", "_", abs) # !subst(".", "_", NaN);
325 "redux.sync." # BinOp # abs # NaN # ".f32",
332 defm REDUX_SYNC_FMIN_NAN: REDUX_SYNC_F<"min", "", ".NaN">;
333 defm REDUX_SYNC_FMIN_ABS_NAN: REDUX_SYNC_F<"min", ".abs", ".NaN">;
336 defm REDUX_SYNC_FMAX_NAN: REDUX_SYNC_F<"max", "", ".NaN">;
337 defm REDUX_SYNC_FMAX_ABS_NAN: REDUX_SYNC_F<"max", ".abs", ".NaN">;
944 // NaN
1063 F_MATH_2<"min.NaN.xorsign.abs.f32", B32, B32, B32, int_nvvm_fmin_nan_xorsign_abs_f,
1066 F_MATH_2<"min.ftz.NaN.xorsign.abs.f32", B32, B32, B32, int_nvvm_fmin_ftz_nan_xorsign_abs_f,
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticCommonKinds.td74 "use of %select{infinity|NaN}0%select{| via a macro}1 is undefined behavior "

12