1*e6d6c189SCody Peter Mello{ n = $1 2*e6d6c189SCody Peter Mello n += $1 3*e6d6c189SCody Peter Mello if (n != $1 + $1) print NR, "urk +=" 4*e6d6c189SCody Peter Mello n = $1 5*e6d6c189SCody Peter Mello n -= $1 6*e6d6c189SCody Peter Mello if (n != 0) print NR, "urk -=" 7*e6d6c189SCody Peter Mello n = $1 8*e6d6c189SCody Peter Mello n *= 3.5 9*e6d6c189SCody Peter Mello if (n != 3.5 * $1) print NR, "urk *=" 10*e6d6c189SCody Peter Mello n = $1 11*e6d6c189SCody Peter Mello n /= 4 12*e6d6c189SCody Peter Mello if (n != $1 / 4) print NR, "urk /=" 13*e6d6c189SCody Peter Mello n = NR 14*e6d6c189SCody Peter Mello n ^= 2 15*e6d6c189SCody Peter Mello if (n != NR * NR) print NR, "urk1 ^=", n, NR * NR 16*e6d6c189SCody Peter Mello n = NR 17*e6d6c189SCody Peter Mello n **= 2 18*e6d6c189SCody Peter Mello if (n != NR * NR) print NR, "urk1 **=", n, NR * NR 19*e6d6c189SCody Peter Mello n = NR 20*e6d6c189SCody Peter Mello n ^= 1.5 21*e6d6c189SCody Peter Mello ns = sprintf("%.10g", n) 22*e6d6c189SCody Peter Mello sq = sprintf("%.10g", NR * sqrt(NR)) 23*e6d6c189SCody Peter Mello if (ns != sq) print NR, "urk2 ^=", ns, sq 24*e6d6c189SCody Peter Mello} 25