Re: 0.0 / 0.0 = -NAN ?From: wolfgang kernNewsgroups:
Aioe.org NNTP Server
Sun, 1 May 2022 10:10 UTC
View all headers
On 30/04/2022 17:31, Skybuck Flying wrote:
When exception masks are all enabled to stop the processor from throwing floating point exceptions the following calculation produces a somewhat strange result:
0.0 / 0.0 = -nan
divide any number by zero is prohibited by math laws anyway because it cannot produce other result then philosophical plus/minus infinitive.
And also 0/0 is not 1 of course.