search for: cppn

Displaying 1 result from an estimated 1 matches for "cppn".

Did you mean: cpp
2004 Oct 19
0
[LLVMdev] Patch for non standard usage of math functions
In lib/Analysis/ScalarEvolution.cpp there is a call to sqrt with an int64_t argument - To make this call in standard C++ a cast to double is required. In lib/CodeGen/LiveIntervalAnalysis.cppn there is a call to pow where the second argument is an unsigned int. The standard C++ call is with 'int' and the compiler does not know if it should promote the unsigned int to float or double so it cannot resolve the overloaded pow function. I solved this by casting to int... m. ----...