Modify

Opened 16 years ago

Closed 16 years ago

#1220 closed Bug (Fixed)

Sqrt does not return 0 on negative parameter, documentation says otherwise

Reported by: Manadar Owned by: J-Paul Mesnage
Milestone: 3.3.1.3 Component: Documentation
Version: 3.3.0.0 Severity: None
Keywords: Sqrt documentation Cc:

Description

A fault in the documentation, or in the implementation of the Sqrt function. The documentation describes it as:

Success: Returns the square-root.
Failure: Returns 0 and sets @error to 1 if parameter is negative.

This script says otherwise:
ConsoleWrite(Sqrt(-1) & @CRLF)

Output:
-1.#IND

Attachments (0)

Change History (1)

comment:1 by J-Paul Mesnage, 16 years ago

Milestone: 3.3.1.3
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed in version: 3.3.1.3

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.