unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* numbers.c: scm_bigcomp semantics.
@ 2002-03-18 17:22 Rob Browning
  2002-04-24 21:03 ` Marius Vollmer
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Browning @ 2002-03-18 17:22 UTC (permalink / raw)



(This is a 1.7 issue only.)

While messing around in numbers.c, it looks like scm_bigcomp has
opposite return value semantics from some common cmp-style routines,
i.e. strcmp and GMP's mpz_cmp (GMP's integer comparison operator) --
presuming, of course, that I accurately interpreted the code.

Do we care?

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: numbers.c: scm_bigcomp semantics.
  2002-03-18 17:22 numbers.c: scm_bigcomp semantics Rob Browning
@ 2002-04-24 21:03 ` Marius Vollmer
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2002-04-24 21:03 UTC (permalink / raw)
  Cc: guile-devel

Rob Browning <rlb@defaultvalue.org> writes:

> While messing around in numbers.c, it looks like scm_bigcomp has
> opposite return value semantics from some common cmp-style routines,
> i.e. strcmp and GMP's mpz_cmp (GMP's integer comparison operator) --
> presuming, of course, that I accurately interpreted the code.
> 
> Do we care?

No.  All the bignum specific functions can be considered internal, I'd
say.

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-24 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-18 17:22 numbers.c: scm_bigcomp semantics Rob Browning
2002-04-24 21:03 ` Marius Vollmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).