What does NaN out of printf?

G. Geers [ext 3241] glenn at extro.ucc.su.oz
Fri Jul 28 09:52:34 AEST 1989


There are two ways infinity is handeled in IEEE format. This depends on whether
you are working in affine or projection mode.
In affine mode you get two: +/- infinity. In projection mode you get one: infinity. This is the same as the idea that the real line has two ends but the complex
plane has only one infinite boundary. 

I don't know of any compilers which allow you to switch to projection mode.
It would be nice in some cases.
					Glenn

Glenn Geers
Dept. Theoretical Physics
Uni of Sydney
NSW 2006 Australia

glenn at extro.ucc.su.oz



More information about the Comp.unix.wizards mailing list