Literals/Floating point: Difference between revisions
Content deleted Content added
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 1,510: | Line 1,510: | ||
123.456E-300 |
123.456E-300 |
||
-123_456_789e+123</lang> |
-123_456_789e+123</lang> |
||
=={{header|Z80 Assembly}}== |
|||
{{trans|6502 Assembly}} |
|||
You'll have to do it the hard way unfortunately. I used an IEEE-754 floating point calculator to figure this out. |
|||
<lang z80>byte &DB,&0F,&49,&40 ;0x40490FDB or 3.141592654 (single-precision)</lang> |
|||
=={{header|zkl}}== |
=={{header|zkl}}== |