MathGroup Archive 2014

[Date Index] [Thread Index] [Author Index]

Search the Archive

Possible bug in Floor function?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132345] Possible bug in Floor function?
  • From: psycho_dad <s.nesseris at gmail.com>
  • Date: Sat, 15 Feb 2014 04:02:14 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

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



  • Prev by Date: Re: Keeping the correct order
  • Next by Date: Re: Keeping the correct order
  • Previous by thread: Re: Undo/Redo
  • Next by thread: Re: Possible bug in Floor function?