I am converting from C++ compiler 12.1 to 13.1 and some previously building code is no longer building. It appears that our code that calls pow(float,float) was compiling to call the overload signature double pow(double, double), but now with 13.1 I get a linker error as follows:
...error LNK2019: unresolved external symbol "float __cdecl pow(float,float)...
So 2 questions:
1-Why is there no implementation of float pow(float,float)? You do have powf, but powf is a C language function, and with C++ there should be an overload of pow for float arguments and returning a float. Since compatibility with Microsoft seems like a high priority, you may also consider that they provide the pure float overload of pow.
2-Curious why the use of float x = pow(float,float) no longer links when it did in v12.1.
Thanks in advance.