Numbers |
|
Number SyntaxNumbers are the numeric values you use in your Fractal Science Kit fractal programs. Float Syntax: [ - ] <Digits> . <Digits> [ e +/- <Exponent> ] Floats are signed IEEE 64-bit (8-byte) double-precision floating-point numbers. The range of negative numbers is: -1.79769313486231570e+308 <= number <= -4.94065645841246544e-324 The range of positive numbers is: 4.94065645841246544e-324 <= number <= 1.79769313486231570e+308 Example: 1 Complex Syntax: <Float> +/- <Float>i A complex number has a real part and an imaginary part. Each part is a floating point number. The imaginary part is followed by the letter i to indicate it is complex. Example: 11 + 22i The complex value i must be represented by the number 1i (or 0+1i if you prefer) in your programs. You cannot use the simpler representation i since that would conflict with a variable named i. |
Copyright © 2004-2019 Ross Hilbert |