This is the mail archive of the guile@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]

Re: [ANN]: slimmed down boot-9, revision 1


Klaus Schilling wrote:
> 
> Maciej Stachowiak writes:
>  > A slimmed down boot-9 is a good thing, but removing these functions is a
>  > bad
>  > idea, as I believe they are needed to be RnRS compliant (otherwise, only
>  > versions whose name is prefixed with a dollar sign are defined).
> 
> R4RS does not require support for general real numbers. Thus the transcendental
> functions are not required as essential procedures. If an implementation does
> provide support for general real numbers, then those functions should be
> implemented.
> As consequence, if the transcendentals get factorized out as optionally
> loadable module, then all support floating reals should.


Sorry, we were using the terminology loosely. The reference is not to
transcendental
numbers but to functions such as sin cos and log, in particular the
versions providing
support for complex numbers. R[45]RS requires these procedures to be
defined. I'm not sure
if it requires them to support complex numbers in any implementation
that has them, but
the versions that don't support complex numbers are called things like
`$sin' and `$log' in
Guile, so _some_ version must be defined at startup time.

 - Maciej