Skip to content
Tcl Source Code Check-in [dc9f2eaf23]
Login

Check-in [dc9f2eaf23]

Overview
Comment: * libtommath/bn_mp_add_d.c: Bug fix. For mp_add_d(&a, d, &c), when &a has the value -d, then the value &c computed should be zero, but mp_add_d was producing an inconsistent zero value with a sign field of MP_NEG, something like a value of -0, which other routines in libtommath can't handle.
Timelines: family | ancestors | descendants | both | kennykb-numerics-branch
Files: files | file ages | folders
SHA1: dc9f2eaf23c8e0903a557e562261332d129d4e57
User & Date: dgp on 2005-09-16 16:13:16.000
Other Links: branch diff | manifest | tags
Context
2005-09-16
19:29
[kennykb-numerics-branch] * generic/tclInt.h: Added TclBNInitBigNumFrom... check-in: 6e1addf33e user: dgp tags: kennykb-numerics-branch
16:13
* libtommath/bn_mp_add_d.c: Bug fix. For mp_add_d(&a, d, &c), when &a has the v... check-in: dc9f2eaf23 user: dgp tags: kennykb-numerics-branch
15:35
[kennykb-numerics-branch] * generic/tclTomMath.h: Added mp_cmp_d to routines from ... check-in: f5324453ec user: dgp tags: kennykb-numerics-branch
Changes