Re: invalid floating point value
In article <cjh6e8$7j3$5@s unnews.cern.ch> Dan.Pop@cern.ch (Dan Pop) writes:[color=blue]
> In <I4uuuo.DM5@cwi .nl> "Dik T. Winter" <Dik.Winter@cwi .nl> writes:[color=green]
> >In article <cjgtn1$gh9$4@s unnews.cern.ch> Dan.Pop@cern.ch (Dan Pop) writes:[color=darkred]
> > > The OP was looking for a bit pattern that could be reliably used
> > > *everywhere* as not corresponding to any floating point value.[/color]
> >
> >Not entirely true. He was asking for a value that could be used to
> >distinguish non-initialized valiables from initialized vairables
> >(note the mention of -999.0 commonly being used). A value that is
> >never generated by the processor could serve very well for such a
> >purpose.[/color]
>
> How do you store such a "value" in a variable in the first place?[/color]
You are dense. Obviously I meant "never generated by the floating-point
part of the processor".
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/
In article <cjh6e8$7j3$5@s unnews.cern.ch> Dan.Pop@cern.ch (Dan Pop) writes:[color=blue]
> In <I4uuuo.DM5@cwi .nl> "Dik T. Winter" <Dik.Winter@cwi .nl> writes:[color=green]
> >In article <cjgtn1$gh9$4@s unnews.cern.ch> Dan.Pop@cern.ch (Dan Pop) writes:[color=darkred]
> > > The OP was looking for a bit pattern that could be reliably used
> > > *everywhere* as not corresponding to any floating point value.[/color]
> >
> >Not entirely true. He was asking for a value that could be used to
> >distinguish non-initialized valiables from initialized vairables
> >(note the mention of -999.0 commonly being used). A value that is
> >never generated by the processor could serve very well for such a
> >purpose.[/color]
>
> How do you store such a "value" in a variable in the first place?[/color]
You are dense. Obviously I meant "never generated by the floating-point
part of the processor".
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/
Comment