1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

Add a deprecated alias for $expt

* module/ice-9/deprecated.scm: Add alias for $expt. $expt was removed
  in commit 6fc4d0124d but no deprecated
  alias was added in ad79736c68 like for
  all the other deprecated $sin, $cos, ... functions.
This commit is contained in:
Christian Persch 2011-11-24 23:10:21 +01:00 committed by Ludovic Courtès
parent a6ea740b3c
commit 3cc21d7995

View file

@ -26,6 +26,7 @@
$sqrt $sqrt
$abs $abs
$exp $exp
$expt
$log $log
$sin $sin
$cos $cos
@ -300,6 +301,10 @@
(issue-deprecation-warning (issue-deprecation-warning
"`$exp' is deprecated. Use `exp' instead.") "`$exp' is deprecated. Use `exp' instead.")
(exp z)) (exp z))
(define ($expt z1 z2)
(issue-deprecation-warning
"`$expt' is deprecated. Use `expt' instead.")
(expt z1 z2))
(define ($log z) (define ($log z)
(issue-deprecation-warning (issue-deprecation-warning
"`$log' is deprecated. Use `log' instead.") "`$log' is deprecated. Use `log' instead.")