[#81999] [Ruby trunk Bug#13737] "can't modify frozen String" when installing bundled gems — ko1@...
Issue #13737 has been updated by ko1 (Koichi Sasada).
4 messages
2017/07/11
[#82005] [Ruby trunk Bug#13737] "can't modify frozen String" when installing bundled gems — nobu@...
Issue #13737 has been updated by nobu (Nobuyoshi Nakada).
3 messages
2017/07/12
[#82102] Re: register_fstring_tainted:FL_TEST_RAW(str, RSTRING_FSTR) — Eric Wong <normalperson@...>
Koichi Sasada <ko1@atdot.net> wrote:
4 messages
2017/07/18
[#82151] [Ruby trunk Feature#13637] [PATCH] tool/runruby.rb: test with smallest possible machine stack — Rei.Odaira@...
Issue #13637 has been updated by ReiOdaira (Rei Odaira).
3 messages
2017/07/24
[ruby-core:81997] [Ruby trunk Bug#5497] Math.log10(10_000) error on HP-UX/PA
From:
nobu@...
Date:
2017-07-11 05:11:25 UTC
List:
ruby-core #81997
Issue #5497 has been updated by nobu (Nobuyoshi Nakada).
Please try more precision.
The default precision doesn't seem enough.
```c
#include <math.h>
#include <stdio.h>
int main(void) {
printf("%.19f\n", log10(10000));
return 0;
}
```
----------------------------------------
Bug #5497: Math.log10(10_000) error on HP-UX/PA
https://bugs.ruby-lang.org/issues/5497#change-65729
* 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>