Jump to content

Literals/Floating point: Difference between revisions

m
m (→‎{{header|Phix}}: added syntax colouring the hard way, phix/basics)
Line 1,235:
<lang smalltalk>2r1010.0 -> 10.0
2r0.01 -> 0.25
2r1010e5 -> 320.0. "hint: = 10*(2ˆ5)"</lang>
 
base 2 mantissa and base 2 exponent:
<lang smalltalk>2r1010e2r0101 -> 320.0 "hint: = 10*(2ˆ5)"</lang>
 
=={{header|Stata}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.