From mboxrd@z Thu Jan 1 00:00:00 1970 From: mdj@sourceware.cygnus.com To: guile-cvs@sourceware.cygnus.com Subject: guile/guile-core/libguile numbers.h Date: Mon, 13 Mar 2000 22:41:00 -0000 Message-id: <20000314064125.27088.qmail@sourceware.cygnus.com> X-SW-Source: 2000-q1/msg00367.html List-Id: CVSROOT: /cvs/guile Module name: guile Changes by: mdj@sourceware.cygnus.com 00/03/13 22:41:25 Modified files: guile-core/libguile: numbers.h Log message: * __scm.h eq.c, eval.c, gc.c, hc.h, gh_data, hash.c, numbers.c, numbers.h, objects.c, ramap.c, random.c, unif.c, unif.h: Extensive rewrite of handling of real and complex numbers. (SCM_FLOATS, SCM_SINGLES): These #ifdef conditionals have been removed along with the support for floats. (Float vectors are still supported.) * numbers.h (SCM_BIGSIGN): Sign moved to bit 16. (scm_makdbl): Deprecated. (SCM_NEWREAL, SCM_NEWCOMPLEX): New macros. (SCM_SINGP): Deprecated. (SCM_FLO): Removed. (SCM_INEXP, SCM_CPLXP): Deprecated. (SCM_INEXACTP, SCM_COMPLEXP): New macros. (SCM_COMPLEX_REAL, SCM_COMPLEX_IMAG): Renamed from SCM_REAL, SCM_IMAG (and now only valid for complex numbers). (SCM_REAL, SCM_IMAG): New, *deprecated*, selectors which work both for doubles and complex numbers. (SCM_REAL_VALUE): New selector for doubles. (scm_double_t, scm_complex_t): New types. (scm_dbl): Removed. * numbers.h (struct scm_dbl): changed to represent a double cell, with the number in the second half. (struct scm_cplx): new, represents a complex number as a triple cell.