SIN Examples
Example 1:
|
|
|
|
|
|
Variable |
|
Contents |
|
Before: |
VALUE |
3 |
150 |
|
|
RESULT |
2.13 |
•0.••••••••••••• |
|
| |||
|
After: |
VALUE |
3 |
150 |
|
|
RESULT |
2.13 |
-0.7148764296292 |
The LESS Condition Flag is set. RESULT has a negative amount.
Example 2:
|
|
|
|
|
|
|
|
|
300 |
|
|
|
|
•3.•••••• |
|
| |||
|
|
|
|
300 |
|
|
|
|
-0.9997558 |
The OVER Condition Flag is set. RESULT was too small to contain -0.9997558399011. The LESS and ZERO Condition Flags are unpredictable.
Example 3:
|
|
|
|
|
|
Variable |
|
Contents |
|
Before: |
RECVING |
4 |
•150 |
|
| |||
|
After: |
RECVING |
1.1 |
-.5 |
The LESS Condition Flag is set. RECVING has a negative amount.
![]() |