Project

General

Profile

Actions

Bug #900

open

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

Added by Brian Flanagan over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
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.

Actions

Also available in: Atom PDF