Anonymous user
Implicit type conversion: Difference between revisions
m
reword output
m (neater link text) |
m (reword output) |
||
Line 66:
$" from "g(-0)$, long long compl width, long long real width, long real width,
int width, short int width, short short int width, $" digits"$,
$"
# 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
[]BOOL := LONG BITS := BITS - implicit widening: TTTTFFFFTTTTFFFFTTTTTTTTFFFFFFFF
[]CHAR := LONG BYTES := BYTES - implicit widening: 0123456789ABCDEF0123456789abcdef
Line 152:
ri = ai; /* points to the first element of ai */
/* a summary result, using the longest sizeof increasing casting path */
printf("%LF was increasingly cast from %d from %d from %d from %d from %d bytes
llf=(lf=(i=(si=c))), sizeof llf, sizeof lf, sizeof i, sizeof si,sizeof c, c);
}</lang>
'''Output:'''
<pre>
49.000000 was increasingly cast from 12 from 8 from 4 from 2 from 1 bytes
</pre>
|