Pull request: Raise SIGFPE instead of abort in __gmp_exception`

Yichao Yu yyc1992 at gmail.com
Mon Jan 11 22:30:10 UTC 2016


On Mon, Jan 11, 2016 at 5:17 PM, Torbjörn Granlund <tg at gmplib.org> wrote:
> nisse at lysator.liu.se (Niels Möller) writes:
>
>   > Hmm. What about `#ifdef` on `SIGFPE` and `abort` otherwise. This
>   > should be a sane enough default for the even when the custom handler
>   > is added.
>
>   Sounds good enough. If noone objects, I'll make a patch to do that and
>   try the patch approval procedure at work.
>
> No system uses enums for these?

Actually this should be standard C89?

http://en.cppreference.com/w/c/program/SIG_types

>
> --
> Torbjörn
> Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list