Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: patteeuw@sys2.ped.pto.ford.com (Jack Patteeuw)
Subject: Why different values for HUGE_VAL ?
Date: 1996/08/21	[thread overview]
Message-ID: <4vf903$ord@pt9201.ped.pto.ford.com> (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 !"



                 reply	other threads:[~1996-08-21  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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