ubuntu-buildroot/output/build/host-gawk-5.2.0/test/mpfrnegzero.awk

16 lines
466 B
Awk

BEGIN {
printf("-0 -> %f, -0.0 -> %f\n", -0, -0.0)
printf("atan2(+0, -0) = %f\n", atan2(+0, -0))
printf("atan2(+0.0, -0.0) = %f\n", atan2(+0.0, -0.0))
printf("atan2(-0, -0) = %f\n", atan2(-0, -0))
printf("atan2(-0.0, -0.0) = %f\n", atan2(-0.0, -0.0))
printf("atan2(+0, +0) = %f\n", atan2(+0, +0))
printf("atan2(+0.0, +0.0) = %f\n", atan2(+0.0, +0.0))
printf("atan2(-0, +0) = %f\n", atan2(-0, +0))
printf("atan2(-0.0, +0.0) = %f\n", atan2(-0.0, +0.0))
}