Literals/Floating point: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: added syntax colouring the hard way, phix/basics) |
|||
Line 1,235: | Line 1,235: | ||
<lang smalltalk>2r1010.0 -> 10.0 |
<lang smalltalk>2r1010.0 -> 10.0 |
||
2r0.01 -> 0.25 |
2r0.01 -> 0.25 |
||
2r1010e5 -> 320.0</lang> |
2r1010e5 -> 320.0. "hint: = 10*(2ˆ5)"</lang> |
||
base 2 mantissa and base 2 exponent: |
base 2 mantissa and base 2 exponent: |
||
<lang smalltalk>2r1010e2r0101 -> 320.0</lang> |
<lang smalltalk>2r1010e2r0101 -> 320.0 "hint: = 10*(2ˆ5)"</lang> |
||
=={{header|Stata}}== |
=={{header|Stata}}== |