Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Why different values for HUGE_VAL ?
@ 1996-08-21  4:00 Jack Patteeuw
  0 siblings, 0 replies; only message in thread
From: Jack Patteeuw @ 1996-08-21  4:00 UTC (permalink / raw)



The following is a section out of math.h from a Digital UNIX system.

	#ifdef _ANSI_C_SOURCE
	
	#if defined(_IEEE_FP)
	#       define HUGE_VAL 1.8e308
	#else
	#       define HUGE_VAL 1.797693134862315708e308
	#endif
	
	#endif /*_ANSI_C_SOURCE */

My question is, why should there be 2 different values for HUGE_VAL based
on IEEE_FP being defined ?

Jack Patteeuw

My opinions are my own and not my employer's, my wife's, or my children !

"I used to do VMS,                Stolen from a good friend:
 Now I do Unix;                   "A mind is like a parachute ...
 It's a living"                      It only works when it is open !"



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-08-21  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-21  4:00 Why different values for HUGE_VAL ? Jack Patteeuw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox