Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Code Block
#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);
}

...

Child pages (Children Display)