[ruby-core:81993] [Ruby trunk Bug#5497] Math.log10(10_000) error on HP-UX/PA

From: naruse@...
Date: 2017-07-10 08:14:39 UTC
List: ruby-core #81993
Issue #5497 has been updated by naruse (Yui NARUSE).

Assignee changed from mrkn (Kenta Murata) to takano32 (Mitsuhiro TAKANO)

----------------------------------------
Bug #5497: Math.log10(10_000) error on HP-UX/PA
https://bugs.ruby-lang.org/issues/5497#change-65724

* Author: twwlogin (The Written Word Inc)
* Status: Feedback
* Priority: Normal
* Assignee: takano32 (Mitsuhiro TAKANO)
* Target version: next minor
* ruby -v: UNKNOWN
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I've built 1.9.2 from svn revision at 33531 on HP-UX/PA and HP-UX/IA. I'm getting two different results for Math.log10(10_000) depending on IA64 and PA-RISC:
  (ia64)
     p Math.log10(10_000)
     4
  (pa-risc)
     p Math.log10(10_000)
     3.9999999999999996

Any idea where in the code I can look to try and fix this?



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread