Lines Matching +full:high +full:- +full:z
5 This C source fragment is part of the SoftFloat IEC/IEEE Floating-point
11 National Science Foundation under grant MIP-9311980. The original version
12 of this code was written as part of a project to build a fixed-point vector
16 http://www.jhauser.us/arithmetic/SoftFloat-2b/SoftFloat-source.txt
33 -------------------------------------------------------------------------------
34 Underflow tininess-detection mode, statically initialized to default value.
36 -------------------------------------------------------------------------------
41 -------------------------------------------------------------------------------
42 Raises the exceptions specified by `flags'. Floating-point traps can be
48 Moved this function out of softfloat-specialize into fpmodule.c.
52 -------------------------------------------------------------------------------
60 -------------------------------------------------------------------------------
62 -------------------------------------------------------------------------------
66 bits64 high, low;
70 -------------------------------------------------------------------------------
71 The pattern for a default generated single-precision NaN.
72 -------------------------------------------------------------------------------
77 -------------------------------------------------------------------------------
78 Returns 1 if the single-precision floating-point value `a' is a NaN;
80 -------------------------------------------------------------------------------
90 -------------------------------------------------------------------------------
91 Returns 1 if the single-precision floating-point value `a' is a signaling
93 -------------------------------------------------------------------------------
103 -------------------------------------------------------------------------------
104 Returns the result of converting the single-precision floating-point NaN
107 -------------------------------------------------------------------------------
111 commonNaNT z;
114 z.sign = a>>31;
115 z.low = 0;
116 z.high = ( (bits64) a )<<41;
117 return z;
122 -------------------------------------------------------------------------------
123 Returns the result of converting the canonical NaN `a' to the single-
124 precision floating-point format.
125 -------------------------------------------------------------------------------
130 return ( ( (bits32) a.sign )<<31 ) | 0x7FC00000 | ( a.high>>41 );
135 -------------------------------------------------------------------------------
136 Takes two single-precision floating-point values `a' and `b', one of which
139 -------------------------------------------------------------------------------
162 -------------------------------------------------------------------------------
163 The pattern for a default generated double-precision NaN.
164 -------------------------------------------------------------------------------
169 -------------------------------------------------------------------------------
170 Returns 1 if the double-precision floating-point value `a' is a NaN;
172 -------------------------------------------------------------------------------
182 -------------------------------------------------------------------------------
183 Returns 1 if the double-precision floating-point value `a' is a signaling
185 -------------------------------------------------------------------------------
197 -------------------------------------------------------------------------------
198 Returns the result of converting the double-precision floating-point NaN
201 -------------------------------------------------------------------------------
205 commonNaNT z;
208 z.sign = a>>63;
209 z.low = 0;
210 z.high = a<<12;
211 return z;
216 -------------------------------------------------------------------------------
217 Returns the result of converting the canonical NaN `a' to the double-
218 precision floating-point format.
219 -------------------------------------------------------------------------------
227 | ( a.high>>12 );
232 -------------------------------------------------------------------------------
233 Takes two double-precision floating-point values `a' and `b', one of which
236 -------------------------------------------------------------------------------
261 -------------------------------------------------------------------------------
262 The pattern for a default generated extended double-precision NaN. The
263 `high' and `low' values hold the most- and least-significant bits,
265 -------------------------------------------------------------------------------
271 -------------------------------------------------------------------------------
272 Returns 1 if the extended double-precision floating-point value `a' is a
274 -------------------------------------------------------------------------------
279 return ( ( a.high & 0x7FFF ) == 0x7FFF ) && (bits64) ( a.low<<1 );
284 -------------------------------------------------------------------------------
285 Returns 1 if the extended double-precision floating-point value `a' is a
287 -------------------------------------------------------------------------------
298 ( ( a.high & 0x7FFF ) == 0x7FFF )
305 -------------------------------------------------------------------------------
306 Returns the result of converting the extended double-precision floating-
309 -------------------------------------------------------------------------------
313 commonNaNT z;
316 z.sign = a.high>>15;
317 z.low = 0;
318 z.high = a.low<<1;
319 return z;
324 -------------------------------------------------------------------------------
326 double-precision floating-point format.
327 -------------------------------------------------------------------------------
331 floatx80 z;
333 z.low = LIT64( 0xC000000000000000 ) | ( a.high>>1 );
334 z.high = ( ( (bits16) a.sign )<<15 ) | 0x7FFF;
335 z.__padding = 0;
336 return z;
341 -------------------------------------------------------------------------------
342 Takes two extended double-precision floating-point values `a' and `b', one
345 -------------------------------------------------------------------------------