Issue #5497 has been updated by mrkn (Kenta Murata).

Status changed from Assigned to Feedback

I don't have any environments to examine this issue.
Please give me a patch to fix this.
----------------------------------------
Bug #5497: Math.log10(10_000) error on HP-UX/PA
https://bugs.ruby-lang.org/issues/5497#change-26945

Author: twwlogin (The Written Word Inc)
Status: Feedback
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category: core
Target version: 1.9.2
ruby -v: 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?


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