From: Rudolf Polzer Date: Mon, 17 Mar 2014 14:32:44 +0000 (+0100) Subject: Fix shifts. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4942f5b4e6893f9b0d575e4345f920b00e6b55a5;p=xonotic%2Fgmqcc.git Fix shifts. --- diff --git a/fuzzer.sh b/fuzzer.sh index 19034b8..7e1a70e 100755 --- a/fuzzer.sh +++ b/fuzzer.sh @@ -92,7 +92,7 @@ build_random_expression() { esac while :; do randomselect_init - #randomselect "float ** float float" # BUG: (-1)**(3) is nan vs -1. exec.c lacks pow(), that's why. + randomselect "float ** float float" randomselect "float ! float" randomselect "float ~ float" randomselect "float + float" @@ -115,8 +115,8 @@ build_random_expression() { randomselect "vector / vector float" randomselect "float % float float" randomselect "vector >< vector vector" - #randomselect "float >> float float" # Does weird & 0xFFFFFF. - #randomselect "float << float float" # Does weird & 0xFFFFFF. + randomselect "float >> float float" + randomselect "float << float float" randomselect "float < float float" randomselect "float > float float" randomselect "float <=> float float"