[PATCH] Replace deliberate division by zero with raise(SIGFPE).
Werner Koch
wk at gnupg.org
Fri Jul 27 10:13:50 CEST 2012
On Fri, 27 Jul 2012 01:13, xi.wang at gmail.com said:
> Yeah I can make a separate function to handle the case.
This needs also to be integrated with the FIPS code.
> JOOC, why still a division by zero in addition to raise?
Because that is what it is about. We are merely computing with a higher
precision and thus we should behave similar to what operations on native
data sizes do.
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gcrypt-devel
mailing list