riolet / rix

Rix language combines the power of C language and the convenience of a high level language
GNU General Public License v3.0
729 stars 27 forks source link

Exponent operator (Float ^^ Float) #11

Closed JoePelz closed 9 years ago

JoePelz commented 9 years ago

Floating point exponents currently do not compile.

a = 9.0
b = 0.5
c = a ^^ b

results in C code that doesn't compile. Expected results are c == 3.000000

JoePelz commented 9 years ago

updated math functions in rsl.h and ritc.c to handle this