How to calculate logarithm base 2 of -3/6 (or 1/2) for example?

400 views
Skip to first unread message

Ike Haze

unread,
Sep 1, 2016, 3:56:14 PM9/1/16
to speedcrunch
I know that there is lg function for logarithm base 2.

I tried several ways of inputting my formula:

lg(-3/6)

-3/6 lg

Always gives me NaN

How do I do it?

Frederic Da Vitoria

unread,
Sep 1, 2016, 4:12:28 PM9/1/16
to speed...@googlegroups.com
IIRC, the logarithm function is only defined for strictly positive numbers. So that SpeedCrunch can't give you an answer any more than if you asked for the result of 3/0 :-)

--
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org
Reply all
Reply to author
Forward
0 new messages