1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-02 02:10:19 +02:00
guile/module/ice-9
Andy Wingo ad79736c68 implement transcendental sin, cos etc in c; deprecate $sin, $cos, etc
* libguile/deprecated.h:
* libguile/deprecated.c (scm_asinh, scm_acosh, scm_atanh): Deprecate
  these stand-ins for the C99 asinh, acosh, and atanh functions. Guile
  is not gnulib.
  (scm_sys_atan2): Deprecate as well, in favor of scm_atan.

* libguile/numbers.h:
* libguile/numbers.c (scm_sin, scm_cos, scm_tan)
  (scm_sinh, scm_cosh, scm_tanh)
  (scm_asin, scm_acos, scm_atan)
  (scm_sys_asinh, scm_sys_acosh, scm_sys_atanh): New functions,
  replacing the combination of dsubrs and boot-9 wrappers with C subrs
  that handle complex values. The latter three have _sys_ in their names
  due to the name conflict with the deprecated scm_asinh et al.

  Remove the $abs, $sin etc "dsubrs".

* module/ice-9/boot-9.scm: Remove transcendental functions, as this all
  happens in C now.

* module/ice-9/deprecated.scm: Add aliases for $sin et al.

* test-suite/tests/ramap.test ("array-map!"): Adjust "dsubr" tests to
  use sqrt, not $sqrt. They don't actually test dsubrs now. In the
  two-source test, I'm pretty sure the dsubr array-map! should have been
  failing, as indeed it does now; I've changed the test case to expect
  the failure. I'd still like to know why it was succeeding before.
2009-12-03 15:27:35 +01:00
..
debugger local-eval will go away 2009-12-01 21:00:26 +01:00
debugging local-eval will go away 2009-12-01 21:00:26 +01:00
and-let-star.scm
arrays.scm
boot-9.scm implement transcendental sin, cos etc in c; deprecate $sin, $cos, etc 2009-12-03 15:27:35 +01:00
buffered-input.scm
calling.scm
ChangeLog-2008
channel.scm Fix typos leading to wrong argument counts. 2009-11-07 19:24:49 +01:00
common-list.scm
compile-psyntax.scm
debug.scm
debugger.scm
deprecated.scm implement transcendental sin, cos etc in c; deprecate $sin, $cos, etc 2009-12-03 15:27:35 +01:00
documentation.scm
emacs.scm local-eval will go away 2009-12-01 21:00:26 +01:00
eval.scm clarify comments in eval.scm 2009-12-03 00:15:02 +01:00
expect.scm
format.scm
ftw.scm "filesystem" -> "file system" 2009-11-24 23:16:08 +01:00
gap-buffer.scm
gds-client.scm local-eval will go away 2009-12-01 21:00:26 +01:00
gds-server.scm Merge branch 'ossau-gds-dev' 2009-08-27 22:52:20 +01:00
getopt-long.scm
hcons.scm
history.scm
i18n.scm Merge libguile-i18n' into libguile'. 2009-09-14 00:42:25 +02:00
lineio.scm
list.scm
ls.scm
mapping.scm
match.scm
networking.scm
null.scm
occam-channel.scm
optargs.scm with a rest arg, allow for keywords anywhere 2009-11-16 22:32:54 +01:00
poe.scm
popen.scm
posix.scm
pretty-print.scm
psyntax-pp.scm really boot primitive-eval from scheme. 2009-12-03 00:00:38 +01:00
psyntax.scm really boot primitive-eval from scheme. 2009-12-03 00:00:38 +01:00
q.scm
quasisyntax.scm add quasisyntax 2009-11-14 17:25:12 +01:00
r4rs.scm
r5rs.scm
rdelim.scm
README
receive.scm
regex.scm
runq.scm
rw.scm
safe-r5rs.scm
safe.scm
serialize.scm
session.scm Fix typos leading to unbound variable references. 2009-10-22 22:57:25 +02:00
slib.scm
stack-catch.scm
streams.scm
string-fun.scm
syncase.scm
test.scm
threads.scm
time.scm
weak-vector.scm

This directory contains various bits of Guile Scheme code.
Most of these are packaged as modules, with foo.scm implementing
the module `(ice-9 foo)'.

The non-module files are:

boot-9.scm	-- loaded on guile startup
		   implements module system + lots of other stuff
arrays.scm	-- loaded by boot-9.scm
networking.scm	-- loaded by boot-9.scm
posix.scm	-- loaded by boot-9.scm
r4rs.scm	-- loaded by boot-9.scm