[gambit-list] Need new flonum functions---are they available on all systems of interest?
Bradley Lucier
lucier at math.purdue.edu
Mon Nov 25 15:30:00 EST 2013
Marc:
I have the following definitions in a file I'm using when updating
Gambit's trigonometric (and adding hyperbolic) functions:
;;; #include <math.h> is in gambit.h
(define ##scalbn (c-lambda (double int) double "scalbn"))
(define ##ilogb (c-lambda (double) int "ilogb"))
(define ##flsinh (c-lambda (double) double "sinh"))
(define ##flcosh (c-lambda (double) double "cosh"))
(define ##fltanh (c-lambda (double) double "tanh"))
(define ##flasinh (c-lambda (double) double "asinh"))
(define ##flacosh (c-lambda (double) double "acosh"))
(define ##flatanh (c-lambda (double) double "atanh"))
(define ##fllog1p (c-lambda (double) double "log1p"))
(define ##flexpm1 (c-lambda (double) double "expm1"))
It would be really helpful for me if these could be added to gambit.h,
the compiler, and _num.scm; then I could just propose patches to
_num.scm for my changes, which will come in stages.
Also, it would be good to know whether these are available on all
systems that Gambit runs on.
Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20131125/8dd8286a/attachment.htm>
More information about the Gambit-list
mailing list