Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

<Overfiend> penis jokes are okay in mixed company. VMS is NOT!!!


programming / alt.lang.asm / Re: 0.0 / 0.0 = -NAN ?

SubjectAuthor
o Re: 0.0 / 0.0 = -NAN ?wolfgang kern

1
Subject: Re: 0.0 / 0.0 = -NAN ?
From: wolfgang kern
Newsgroups: alt.lang.asm
Organization: Aioe.org NNTP Server
Date: Sun, 1 May 2022 10:10 UTC
References: 1
Path: i2pn2.org!i2pn.org!aioe.org!UluKxMKQOZmypuRJBAQ/HA.user.46.165.242.75.POSTED!not-for-mail
From: nowh...@nevernet.at (wolfgang kern)
Newsgroups: alt.lang.asm
Subject: Re: 0.0 / 0.0 = -NAN ?
Date: Sun, 1 May 2022 12:10:45 +0200
Organization: Aioe.org NNTP Server
Message-ID: <t4lmb7$4s4$1@gioia.aioe.org>
References: <cca0e7f8-c99d-4f83-9a98-edb26f1509fcn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="4996"; posting-host="UluKxMKQOZmypuRJBAQ/HA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
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.
__
wolfgang


1
rocksolid light 0.7.2
clearneti2ptor