Literals/Floating point: Difference between revisions
Content deleted Content added
No edit summary |
PatGarrett (talk | contribs) →{{header|360 Assembly}}: Section added |
||
Line 14: | Line 14: | ||
* [[Extreme floating point values]] |
* [[Extreme floating point values]] |
||
<br><br> |
<br><br> |
||
=={{header|360 Assembly}}== |
|||
<lang 360asm>XS4 DC E'1.23456E-4' short floating-point |
|||
XDPI DC D'3.141592653589793' long floating-point |
|||
XD1 DC D'0' long floating-point |
|||
XD2 DC D'1' long floating-point |
|||
XD3 DC D'-1' long floating-point |
|||
XD4 DC D'1.2345E-4' long floating-point |
|||
XQPI DC L'3.14159265358979323846264338327950' extended |
|||
* short floating-point - 32 bits - 4 bytes : 6 decimal digits |
|||
* long floating-point - 64 bits - 8 bytes : 16 decimal digits |
|||
* extended floating-point - 128 bits - 16 bytes : 33 decimal digits |
|||
* absolute approximate range: 5e-79 to 7e75 </lang> |
|||
=={{header|Ada}}== |
=={{header|Ada}}== |