Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16565

Possible bug in Floor function?

From psycho_dad <s.nesseris@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Possible bug in Floor function?
Date 2014-02-15 08:58 +0000
Message-ID <ldna78$287$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


Hi,

I think I may have stumbled upon a possible bug in Floor. Evaluating the following gives the correct result: 

Floor[Log[10, 100.]]
2

Evaluating it with a replacement and //N gives a message and the wrong result:

Floor[Log[10, x]] /. x -> 100 // N

Floor::meprec: Internal precision limit $MaxExtraPrecision = 50.` reached while evaluating Floor[Log[100]/Log[10]]. >>

1

I'm on Math 9.0 + Win7, but Math 8 gives the same (wrong) result as well. 

Cheers

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar


Thread

Possible bug in Floor function? psycho_dad <s.nesseris@gmail.com> - 2014-02-15 08:58 +0000

csiph-web