Literals/Floating point: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 48: | Line 48: | ||
=={{header|68000 Assembly}}== |
=={{header|68000 Assembly}}== |
||
If you don't have a floating-point unit, floats aren't of very much use. The most portable way to declare float literals is also the most tedious: by storing their hexadecimal representation as data. |
If you don't have a floating-point unit, floats aren't of very much use. The most portable way to declare float literals is also the most tedious: by storing their hexadecimal representation as data. |
||
<lang 68000devpac> |
<lang 68000devpac>Pi: |
||
Pi: |
|||
DC.L $40490FDB</lang> |
DC.L $40490FDB</lang> |
||