Opened 14 years ago

Closed 14 years ago

#1220 closed Bug (Fixed)

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

Reported by: Manadar Owned by: Jpm
Milestone: Component: Documentation
Version: Severity: None
Keywords: Sqrt documentation Cc:


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)


Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jpm.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.