develooper Front page | perl.perl5.porters | Postings from December 2021

Re: Pre-RFC: `unknown` versus `undef`

Thread Previous | Thread Next
Darren Duncan
December 19, 2021 19:20
Re: Pre-RFC: `unknown` versus `undef`
Message ID:
On 2021-12-19 4:07 a.m., Oodler 577 via perl5-porters wrote:
> The closest concept I can think that I might be familiar with is Fortran's
> NaN, which is part of the IEEE arithmetic standards. It is composed of a
> special values that can be detected in hardware or software.

This again, the NaN concept of Fortran or IEEE floating point numbers, is 
another reason I actually advocate for a concept like I expressed with Excuse, 
where an explicit reason for a missing regular value is encoded in the 
not-regular-value result.  An Excuse duals for the concepts of unthrown 
exception as well as the concept of a NaN, of which there are several kinds, 
such as divide by zero, underflow, etc. -- Darren Duncan

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About