GMP Error Reporting

posihydr posihydr at qq.com
Sat Aug 19 15:50:37 CEST 2023


A description of the problem:
The problem occurs when the formula in GMP and < Picture 1> is used to calculate PI, calculate the constant C to the 3/2 power, output "Floating point exception" after running the program, and use GDB debugging to find that the program receives signal SIGFPE when calling mpf_sqrt function.
The following is written according to the https://gmplib.org/manual/Reporting-Bugs report:
1. GMP Version number: 6.3.0 (not prepackaged and not patched)
2. The test program is <bug.c>, which can be run directly after compilation
3. The program crashes directly
4. < Picture 2>
5. None
6../configure --prefix=/opt/gmp-6.3.0
7. I can't provide the information as it was built
8. < Picture 3>
9. < Picture 3>
10. aarch64-unknown-linux-gnu
11. None
12. None


It was translated from Chinese by Youdao.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.c
Type: application/octet-stream
Size: 985 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20230819/f8b60cfa/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 1.jpg
Type: application/octet-stream
Size: 145450 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20230819/f8b60cfa/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 2.jpg
Type: application/octet-stream
Size: 441754 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20230819/f8b60cfa/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 3.jpg
Type: application/octet-stream
Size: 483329 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20230819/f8b60cfa/attachment-0007.obj>


More information about the gmp-bugs mailing list