summaryrefslogtreecommitdiff
path: root/libguile/numbers.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-09-03 12:19:39 +0200
committerAndy Wingo <wingo@pobox.com>2009-12-03 15:24:28 +0100
commit6fc4d0124d633d1b3ddc5af82967f23bd17556f8 (patch)
treecde48b5c9016bb60ab06b7c6cd6946e8a308c578 /libguile/numbers.h
parentdf338a22646fa6a783d72d67f3e6c4d4aee65c72 (diff)
downloadguile-6fc4d0124d633d1b3ddc5af82967f23bd17556f8.tar.gz
expt implemented in C, handles complex numbers
* libguile/numbers.h: * libguile/numbers.c (scm_expt): Rename from scm_sys_expt, and handle the complex cases as well. * libguile/deprecated.h: * libguile/deprecated.c (scm_sys_expt): Add a deprecated shim. * module/ice-9/boot-9.scm (expt): Remove definition, scm_expt does all we need.
Diffstat (limited to 'libguile/numbers.h')
-rw-r--r--libguile/numbers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/numbers.h b/libguile/numbers.h
index 9597afb8d..c607c4a21 100644
--- a/libguile/numbers.h
+++ b/libguile/numbers.h
@@ -252,7 +252,7 @@ SCM_API double scm_c_truncate (double x);
SCM_API double scm_c_round (double x);
SCM_API SCM scm_truncate_number (SCM x);
SCM_API SCM scm_round_number (SCM x);
-SCM_API SCM scm_sys_expt (SCM z1, SCM z2);
+SCM_API SCM scm_expt (SCM z1, SCM z2);
SCM_API SCM scm_sys_atan2 (SCM z1, SCM z2);
SCM_API SCM scm_make_rectangular (SCM z1, SCM z2);
SCM_API SCM scm_make_polar (SCM z1, SCM z2);