#!./perl
BEGIN {
chdir 't' if -d 't';
}
# 2s complement assumption. Won't break test, just makes the internals of
# the SVs less interesting if were not on 2s complement system.
my $uv_max = ~0;
$iv_max /= 2;
{
use integer;
$iv0 = 2 - 2;
$iv1 = 3 - 2;
$ivm1 = 2 - 3;
$iv_max -= 1;
$iv_min += 0;
}
$uv_bigi |= 0x0;
# Seems one needs to perform the maths on 'Inf' to get the NV correctly primed.
print "1..$expect\n";
}
my $ok = 0;
for my $i (0..$#FOO) {
$ok++;
# Comparison routines may convert these internally, which would change
# what is used to determine the comparison on later runs. Hence copy
{
}
else {
}
$ok++;
{
}
else {
}
$ok++;
{
}
else {
}
$ok++;
{
}
else {
}
$ok++;
# OK, so the docs are wrong it seems. NaN != NaN
{
}
else {
}
$ok++;
{
}
else {
}
$ok++;
# Should give -ve of other answer, or undef for NaNs
# a + -a should be zero. not zero is truth. which avoids using ==
{
}
else {
}
# String comparisons
$ok++;
{
}
else {
}
$ok++;
{
}
else {
}
$ok++;
{
}
else {
}
$ok++;
{
}
else {
}
$ok++;
{
}
else {
}
$ok++;
{
}
else {
}
$ok++;
# Should give -ve of other answer
# a + -a should be zero. not zero is truth. which avoids using ==
{
}
else {
}
}
}