mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 06:41:13 +02:00
* num2integral.i.c (INTEGRAL2BIG): Put negation of n inside then
clause.
This commit is contained in:
parent
e3be7ddda5
commit
938f6b7c81
2 changed files with 11 additions and 3 deletions
|
@ -1,6 +1,11 @@
|
||||||
|
2003-04-06 Mikael Djurfeldt <djurfeldt@nada.kth.se>
|
||||||
|
|
||||||
|
* num2integral.i.c (INTEGRAL2BIG): Put negation of n inside then
|
||||||
|
clause.
|
||||||
|
|
||||||
2003-04-05 Rob Browning <rlb@defaultvalue.org>
|
2003-04-05 Rob Browning <rlb@defaultvalue.org>
|
||||||
|
|
||||||
* modules.c (s_scm_module_import_interface): move declaration of
|
* modules.c (scm_module_import_interface): move declaration of
|
||||||
uses before any code.
|
uses before any code.
|
||||||
|
|
||||||
2003-04-05 Mikael Djurfeldt <djurfeldt@nada.kth.se>
|
2003-04-05 Mikael Djurfeldt <djurfeldt@nada.kth.se>
|
||||||
|
|
|
@ -195,8 +195,11 @@ INTEGRAL2BIG (ITYPE n)
|
||||||
/* mpz_import doesn't handle sign -- have to use #if here rather
|
/* mpz_import doesn't handle sign -- have to use #if here rather
|
||||||
than if b/c gcc warnings for ushort, etc. */
|
than if b/c gcc warnings for ushort, etc. */
|
||||||
#if !UNSIGNED
|
#if !UNSIGNED
|
||||||
if (n < 0) neg_input = 1;
|
if (n < 0)
|
||||||
n = - n;
|
{
|
||||||
|
neg_input = 1;
|
||||||
|
n = - n;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mpz_import (SCM_I_BIG_MPZ (result),
|
mpz_import (SCM_I_BIG_MPZ (result),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue