switch to c99 mode
Add more tests for add; fix 'NaN & inf' issue