This is the mail archive of the guile-cvs@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

guile/guile-core/libguile numbers.h


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]