pow(0.0, 0.0) should be:
- 0.0 when only the first argument is a constant expression
- 1.0 when only the second argument is a constant expression
- crashing the program in all other circumstances
the swift programming language is my fault to some degree. mostly here to see dogs, shitpost, fix old computers, and/or talk about math and weird computer programming things. for effortposts check the #longpost pinned tag. asks are open.
pow(0.0, 0.0) should be:
oh! i think you can implement this in C!
https://stackoverflow.com/questions/49480442/detecting-integer-constant-expressions-in-macros