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
Â