]> git.xonotic.org Git - xonotic/gmqcc.git/commit
Implement exponentiation operator `**` as well as __builtin_pow (used for exponentiat...
authorDale Weiler <killfieldengine@gmail.com>
Thu, 7 Mar 2013 21:31:19 +0000 (21:31 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 7 Mar 2013 21:31:19 +0000 (21:31 +0000)
commitd3c7b6fb3997256722ec0ea66bad733f0729ebba
tree01c78344166cf00080e10f7ec65c2194f73a8e29
parenta32f59b256df8c0ca85ff3a958be6dad3f1c1b61
Implement exponentiation operator `**` as well as __builtin_pow (used for exponentiation operator).  Use of exponentiation operator with constants results in const folded (precomputed at compile time exponentiation), otherwise runtime exponentiation with some clever loops (slow!).
Makefile
lexer.c
lexer.h
parser.c