[plt-scheme] Base 10 log

From: Robby Findler (robby at cs.uchicago.edu)
Date: Sun May 8 19:17:04 EDT 2005

Here's the usual way to do that.

> (define (log10 n) (/ (log n) (log 10)))
> (log10 100)
2.0


At Sun, 8 May 2005 19:15:27 -0400, Josh Evans wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> 
> Hello,
> 
> I'm trying to program a simple base ten 10 log in dr.scheme.  However it 
> only give me the natural log.
> 
> All I want is something like (log 100) = 2
> 
> Make sense
> 
> Instead I get
> #i4.160517......
> 
> Thanks!
> /josh_evans/
> Technical Applications Engineer
> Community Professional Loudspeakers



Posted on the users mailing list.