Anonymous user
Implicit type conversion: Difference between revisions
m
→[[Implicit_type_conversion#ALGOL 68]]: tidy
m (→{{header|C}}: add output) |
m (→[[Implicit_type_conversion#ALGOL 68]]: tidy) |
||
Line 62:
# conversion branch SHORT SHORT INT => LONG LONG COMPL #
# a summary result, using the longest sizeof increasing casting path #
printf((long long compl fmt,llz:=(llr:=(lr:=(i:=(si:=ssi)))),$
$l" was increasingly cast"$,
$" from "g(-0)$, long long compl width, long long real width, long real width,
int width, short int width, short short int width, $" digits"$,
$" and was
# conversion branch BITS => []BOOL #
Line 109:
<pre>
1234.0000000000000000000000000000000000000000000000000000000000000+.0000000000000000000000000000000000000000000000000000000000000i
was increasingly cast from 126 from 63 from 28 from 10 from 10 from 10 digits and was
[]BOOL := LONG BITS := BITS - implicit widening: TTTTFFFFTTTTFFFFTTTTTTTTFFFFFFFF
[]CHAR := LONG BYTES := BYTES - implicit widening: 0123456789ABCDEF0123456789abcdef
|