Project

General

Profile

Actions

Bug #5497

closed

Math.log10(10_000) error on HP-UX/PA

Added by twwlogin (The Written Word Inc) over 12 years ago. Updated almost 5 years ago.

Status:
Closed
Target version:
-
[ruby-core:40489]

Description

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?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0