* include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
Avoid raising FP exceptions.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2005-09-24  Danny Smith  <dannysmith@users.sourceforge.net> | ||||||
|  |  | ||||||
|  | 	* include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN) | ||||||
|  | 	Avoid raising FP exceptions. | ||||||
|  |  | ||||||
| 2005-09-19  Danny Smith  <dannysmith@users.sourceforge.net> | 2005-09-19  Danny Smith  <dannysmith@users.sourceforge.net> | ||||||
|  |  | ||||||
| 	* include/stdlib.h (strtof): Add prototype.  Uglify | 	* include/stdlib.h (strtof): Add prototype.  Uglify | ||||||
|   | |||||||
| @@ -283,11 +283,10 @@ _CRTIMP int __cdecl _set_SSE2_enable (int); | |||||||
| #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ | #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ | ||||||
| 	|| !defined __STRICT_ANSI__ || defined __cplusplus | 	|| !defined __STRICT_ANSI__ || defined __cplusplus | ||||||
|  |  | ||||||
| #define NAN (0.0F/0.0F) | #define HUGE_VALF	0x1.0p255f | ||||||
| #define HUGE_VALF (1.0F/0.0F) | #define HUGE_VALL	0x1.0p32767L | ||||||
| #define HUGE_VALL (1.0L/0.0L) | #define INFINITY	HUGE_VALF | ||||||
| #define INFINITY (1.0F/0.0F) | #define NAN (HUGE_VALF - HUGE_VALF) | ||||||
|  |  | ||||||
|  |  | ||||||
| /* 7.12.3.1 */ | /* 7.12.3.1 */ | ||||||
| /* | /* | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user