/
Power function
Power function
The following program gives slightly different results on win/arm64 vs win/x86 and wsl/arm64.
This specific issue is found while running numpy test suite.
#include <stdio.h>
#include <math.h>
int main(){
double x = 0.5;
double y = 1022 + 52;
double z = pow(x, y);
printf("%.1024f\n",z);
}
Output:
win/arm64: 0.000...000
wsl/arm64: 0.000...903
win/x64 : 0.000...903
Compiler:
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30038.1 for ARM64
, multiple selections available,
Related content
Missing x64 Intrinsics and Windows API for ARM64
Missing x64 Intrinsics and Windows API for ARM64
More like this
Debug run-time DLL issue
Debug run-time DLL issue
Read with this
Identify CPU architecture
Identify CPU architecture
More like this
Fortran
Fortran
Read with this
Cygwin Runtime
Cygwin Runtime
More like this
setuptools-distutils
setuptools-distutils
Read with this