🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #31936

LOG10 Problem in Excel

#31936
From: Edward Olsen
Date: Wed, 07 Sep 1988 23:11
27 lines
2024 bytes
I have discovered what I classify as a bug in Microsoft Excel running on
a Mac II.  I am using Excel v1.5 and running sensitivity calculations in
dBm.  Thus I must take the natural logarithm of some very small numbers.

I find that if I take LOG10(2.7E-20) that I come up with a #NUM! error,
whereas LOG10(2.8E-20) computes fine.  The break point occurs at
			LOG10(2.7105054312138E-20)
If your number is a tiny bit smaller (change the 8 to a 7 just before the
exponent), #NUM! pops up.  Note that this is not a precision problem, for
I am not asking for a lot of significant digits.  I should be able to take
LOG10(1.0E-99) if I need to!  What is up here?  Of course, if you run this
test on a Mac Plus (no coproessor, just the SANE package) you do not get
#NUM!, just a bad precision number.  I called this in to the Microsoft
technical assistance and found it was an absolute surprise to them.
				 Ed Olsen



/*******************************************************************
 * Edward Olsen                    ARPA: eto@spacely.jpl.nasa.gov  *
 * Mail Stop: 169-506              UUCP: ...!cit-vax!spacely!eto   *
 * Jet Propulsion Laboratory       SPAN: jplrag::olsen             *
 * 4800 Oak Grove Drive                                            *
 * Pasadena, CA 91109                                              *
 *                                                                 *
 * Phone: FTS: 792-7604      Commercial: (818) 354-7604            *
 *******************************************************************/
Technical Details
Message-ID: <9163@elroy.Jpl.Nasa.Gov>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!elroy!spacely!eto

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!elroy!spacely!eto
From: eto@spacely.Jpl.Nasa.Gov (Edward Olsen)
Newsgroups: comp.sys.mac
Subject: LOG10 Problem in Excel
Keywords: LOG10, Excel, math coprocessor, MacII
Message-ID: <9163@elroy.Jpl.Nasa.Gov>
Date: 7 Sep 88 23:11:04 GMT
Sender: news@elroy.Jpl.Nasa.Gov
Reply-To: eto@spacely.Jpl.Nasa.Gov (Edward Olsen)
Organization: Image Analysis Systems Grp, JPL
Lines: 26