]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commit
Prevent divide by zero for / and % operations in constant folding (previously caused...
authorDale Weiler <killfieldengine@gmail.com>
Sat, 31 Aug 2013 16:57:24 +0000 (12:57 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Sat, 31 Aug 2013 16:57:24 +0000 (12:57 -0400)
commit69252071ba7de94acba4c994ed8c537d03bd937a
tree554fb306be41c3e9543ccb521af71b22d7fa61bc
parent9032e783496f7be2fd4c9a6824bba19cf8ad047c
Prevent divide by zero for / and % operations in constant folding (previously caused compiler SIGFPE), instead "inf" is generated for both cases. This closes #124
fold.c