[Info-vax] VMS Software Q1 '23 Update

Single Stage to Orbit alex.buell at munted.eu
Thu Jan 26 12:05:48 EST 2023


On Thu, 2023-01-26 at 11:50 -0500, Dave Froble wrote:
> 

> > I am of the opinion that direct testing for equality of floating
> > point numbers should be disallowed by every language and that
> > people should be forced to use an alternative where _they_ have to
> > specify the delta value that 2 numbers should be within before they
> > are considered to be equal.
> > 
> > Simon.
> > 
> 
> Well, "have to" or not, that is the only method that works ...

Or use rounding: IF Math.Round(x,2) = Math.Round(x,2) THEN ..

-- 
Tactical Nuclear Kittens




More information about the Info-vax mailing list