Re: the handiness of undef becoming NaN (when you want that)

2001-10-19 Thread Aaron Sherman
On Wed, Oct 17, 2001 at 03:42:30PM -0500, David Nicol wrote: > > I am implementing a textbook algo in Perl (the textbook has > it written in C++) and have realized that if undef was to > numericize to NaN instead of 0, there are a lot of uninitialization > errors that would get caught. > >

Re: the handiness of undef becoming NaN (when you want that)

2001-10-19 Thread Dan Sugalski
At 03:42 PM 10/17/2001 -0500, David Nicol wrote: >I am implementing a textbook algo in Perl (the textbook has >it written in C++) and have realized that if undef was to >numericize to NaN instead of 0, there are a lot of uninitialization >errors that would get caught. Yup, and it generically bre