Anonymous user
Roots of a quadratic function: Difference between revisions
m
→version 1: added whitespace to the REXX section header.
m (→version 1: changed some variable names for easier perusing.) |
m (→version 1: added whitespace to the REXX section header.) |
||
Line 1,611:
The REXX language doesn't have a '''sqrt''' function, nor does it have complex numbers.
<br>Since "unlimited" decimal precision is part of the language, the NUMERIC DIGITS
<br>was increased (from a default of 9) to 120 to accommodate roots closer to zero.
<br>Note that only 10 digits are shown in the output (precision).
<lang rexx>/*REXX program finds the roots (may be complex) of a quadratic function.*/
|