Project

General

Profile

Bug #900

Many math errors generate NaN instead of a proper ERRN, ERR$, etc.

Added by Brian Flanagan 15 days ago. Updated 3 days ago.

Status:
Resolved
Priority:
High
Assignee:
AOZ Developers
Target version:
Start date:
06/17/2022
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

For On Error to work properly we need the errors to be available via ERRN, ERR$, etc.
For example:

ASin() and ACos() used with invalid values, or dividing by 0, all should produce errors, but instead they produce NaN!

Print ACos(1.1)
Print ACos(-1.1)
Print ASin(2)
Print ASin(-2)
Print 12/0

Each of these should produce the proper values in ERRN & ERR$ so errors can be handled via On Error, etc.

#1

Updated by Francois Lionet 3 days ago

  • Status changed from New to Resolved

Fixed!

Also available in: Atom PDF