Double128 example updated.
This commit is contained in:
parent
a1c7b35435
commit
13e3c46bfa
|
@ -14,4 +14,11 @@ void main () {
|
||||||
stdout.printf ("Double128: ld = %e, ", ld);
|
stdout.printf ("Double128: ld = %e, ", ld);
|
||||||
ld += 1; ld -= 1;
|
ld += 1; ld -= 1;
|
||||||
stdout.printf ("(+-1) ld = %e\n", ld);
|
stdout.printf ("(+-1) ld = %e\n", ld);
|
||||||
|
|
||||||
|
ld = 1.234567;
|
||||||
|
stdout.printf ("ld = %e, ", ld);
|
||||||
|
d = ld; stdout.printf ("d = ld, ");
|
||||||
|
stdout.printf ("d = %e, ", d);
|
||||||
|
ld = d; stdout.printf ("ld = d, ");
|
||||||
|
stdout.printf ("ld = %e\n", ld);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue