We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typedef long double ldbl; const int imax = numeric_limits< int >::min(); ldbl xdbl = pow(static_cast< ldbl >(imax), 5); Dodecahedron::Bigint ibig = imax; Dodecahedron::Bigint xbig = ibig.pow(5);
imax = -2147483648 xdbl = -4.56719e+046 xbig = 45671926166590716193865151022383844364247891968
The sign is incorrect for xbig.
The same incorrect result is obtained with Dodecahedron::Bigint xbig = ibig * ibig * ibig * ibig * ibig;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
imax = -2147483648
xdbl = -4.56719e+046
xbig = 45671926166590716193865151022383844364247891968
The sign is incorrect for xbig.
The same incorrect result is obtained with
Dodecahedron::Bigint xbig = ibig * ibig * ibig * ibig * ibig;
The text was updated successfully, but these errors were encountered: