bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(@ (rnrs base) log) optional second argument


From: Ian Price
Subject: (@ (rnrs base) log) optional second argument
Date: Wed, 6 Apr 2011 02:11:23 +0100

Hello guilers,

Guile does not implement the optional second argument for log. I have
attached a simple patch that implements it using the formula you learn
in high school.

I have left the behaviour for two special cases alone, as there is no
clear right answer among the current R6RS implementations. If you have
strong opinions on this behaviour, feel free to write something better.

Regards,
Ian

Attachment: 0001-Added-optional-second-arg-to-R6RS-log-function.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]