10 use Test::More tests => 11;
32 is($x, 4.5, "scalar still floating point");
34 isnt(sqrt($x), 2, "functions still floating point");
36 isnt($x ** .5, 2, "power still floating point");
38 is(++$x, 5.5, "++ still floating point");
41 my $ivsize = $Config{ivsize};
42 skip "ivsize == $ivsize", 2 unless $ivsize == 4 || $ivsize == 8;
46 is($z + 1, -2147483648, "left shift");
47 } elsif ($ivsize == 8) {
49 is($z + 1, -9223372036854775808, "left shift");
53 is(~0, -1, "signed instead of unsigned");