egallesio / STklos

STklos Scheme
http://stklos.net
GNU General Public License v2.0
67 stars 17 forks source link

Make `(log 1 x)` return exact zero #623

Closed jpellegrini closed 2 months ago

jpellegrini commented 2 months ago

Hi @egallesio ! One more small change: for (log 1 x), if x is neither 0 nor 1, we could just return exact zero...

egallesio commented 2 months ago

Thanks @jpellegrini for this PR (and PR #622 too). I'll merge them as soon as I have access to my computer.