Displaying 2 results from an estimated 2 matches for "b943e374".
2011 Feb 12
0
[LLVMdev] pow operator on Windows
...ull of dead mice."
│ --- Anonymous, on rasfc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110212/b943e374/attachment.sig>
2011 Feb 12
3
[LLVMdev] pow operator on Windows
I have a very simple test case on Windows that shows some surprising behavior. This doesn't seem to be a problem on Linux.
The example is:
#include <stdio.h>
#include <math.h>
double heat(double Pr) {
return pow(Pr, 0.33);
}
int main(int argc, char **argv) {
double Nu = heat(291.00606180486119);
printf("%.20f\n", Nu);
}
I've tested with MinGW's gcc.exe