The following code:
main()
{
decl a = 0, b = <0>, c = <0,0>, d = <0;0>;
println(a[<>], b[<>], c[<>], d[<>]);
println(sizeof(<>) ~ sizeof(a[<>]) ~ sizeof(b[<>]) ~ sizeof(c[<>]) ~ sizeof(d[<>]));
}
produces
<>
<>
<>
<>
0.00000 1.0000 1.0000 1.0000 0.00000
Is this behavior normal?
Sophocles
|