#libc complex.odin `pow` bindings are incorrect

1 messages · Page 1 of 1 (latest)

atomic echo
#

The power functions cpow and cpowf should take in two arguments, the base and the power. However the declarations/bindings in c/libc/complex.odin only have a single argument. The end result is that the unspecified second argument is set to zero and all calls just raise whatever is passed in to the 0 power (z^0).

(I'm not sure if I should even be looking at the c/libc code, but I was trying to at least use the builtins if they were available. and noticed this declaration was odd.)

What's the correct way to note this problem? Should I make a Github issue?

south widget
#

GitHub issue is always wanted for any bug