Lines Matching +full:- +full:- +full:-
5 * IEC/IEEE Floating-point Arithmetic Package. Those parts of the code (and
9 * the SoftFloat-2a license
11 * GPL-v2-or-later
14 * taken to be licensed under the Softfloat-2a license unless specifically
20 This C source fragment is part of the SoftFloat IEC/IEEE Floating-point
26 National Science Foundation under grant MIP-9311980. The original version
27 of this code was written as part of a project to build a fixed-point vector
79 * version 2 or later. See the COPYING file in the top-level directory.
88 return status->no_signaling_nans;
93 * In IEEE 754-1985 this was implementation defined, but in IEEE 754-2008
99 return status->snan_bit_is_one;
102 /*----------------------------------------------------------------------------
103 | For the deconstructed floating-point with fraction FRAC, return true
105 *----------------------------------------------------------------------------*/
112 bool msb = extract64(frac, DECOMPOSED_BINARY_POINT - 1, 1);
117 /*----------------------------------------------------------------------------
118 | The pattern for a default generated deconstructed floating-point NaN.
119 *----------------------------------------------------------------------------*/
125 uint8_t dnan_pattern = status->default_nan_pattern;
134 frac = deposit64(0, DECOMPOSED_BINARY_POINT - 7, 7, dnan_pattern);
135 frac = deposit64(frac, 0, DECOMPOSED_BINARY_POINT - 7, -(dnan_pattern & 1));
149 * in the quad-floating format. If the low bit is set, assume we
150 * want to set all non-snan bits.
160 .frac_lo = -(p64.frac & 1)
164 /*----------------------------------------------------------------------------
166 | floating-point parts.
167 *----------------------------------------------------------------------------*/
175 frac &= ~(1ULL << (DECOMPOSED_BINARY_POINT - 1));
176 frac |= 1ULL << (DECOMPOSED_BINARY_POINT - 2);
178 frac |= 1ULL << (DECOMPOSED_BINARY_POINT - 1);
185 p->frac = parts_silence_nan_frac(p->frac, status);
186 p->cls = float_class_qnan;
191 p->frac_hi = parts_silence_nan_frac(p->frac_hi, status);
192 p->cls = float_class_qnan;
195 /*----------------------------------------------------------------------------
196 | The pattern for a default generated extended double-precision NaN.
197 *----------------------------------------------------------------------------*/
215 /*----------------------------------------------------------------------------
216 | The pattern for a default generated extended double-precision inf.
217 *----------------------------------------------------------------------------*/
225 bool z = status->floatx80_behaviour & floatx80_default_inf_int_bit_is_zero;
229 /*----------------------------------------------------------------------------
230 | Returns 1 if the half-precision floating-point value `a' is a quiet
232 *----------------------------------------------------------------------------*/
249 /*----------------------------------------------------------------------------
252 *----------------------------------------------------------------------------*/
268 /*----------------------------------------------------------------------------
269 | Returns 1 if the half-precision floating-point value `a' is a signaling
271 *----------------------------------------------------------------------------*/
287 /*----------------------------------------------------------------------------
290 *----------------------------------------------------------------------------*/
306 /*----------------------------------------------------------------------------
307 | Returns 1 if the single-precision floating-point value `a' is a quiet
309 *----------------------------------------------------------------------------*/
325 /*----------------------------------------------------------------------------
326 | Returns 1 if the single-precision floating-point value `a' is a signaling
328 *----------------------------------------------------------------------------*/
344 /*----------------------------------------------------------------------------
345 | Returns 1 if the double-precision floating-point value `a' is a quiet
347 *----------------------------------------------------------------------------*/
364 /*----------------------------------------------------------------------------
365 | Returns 1 if the double-precision floating-point value `a' is a signaling
367 *----------------------------------------------------------------------------*/
384 /*----------------------------------------------------------------------------
385 | Returns 1 if the extended double-precision floating-point value `a' is a
388 *----------------------------------------------------------------------------*/
409 /*----------------------------------------------------------------------------
410 | Returns 1 if the extended double-precision floating-point value `a' is a
413 *----------------------------------------------------------------------------*/
434 /*----------------------------------------------------------------------------
435 | Returns a quiet NaN from a signalling NaN for the extended double-precision
437 *----------------------------------------------------------------------------*/
447 /*----------------------------------------------------------------------------
448 | Returns 1 if the quadruple-precision floating-point value `a' is a quiet
450 *----------------------------------------------------------------------------*/
467 /*----------------------------------------------------------------------------
468 | Returns 1 if the quadruple-precision floating-point value `a' is a
470 *----------------------------------------------------------------------------*/