[#90865] [Ruby trunk Bug#15499] Breaking behavior on ruby 2.6: rb_thread_call_without_gvl doesn't invoke unblock_function when used on the main thread — apolcyn@...
Issue #15499 has been reported by apolcyn (alex polcyn).
3 messages
2019/01/03
[#90877] [Ruby trunk Bug#15499] Breaking behavior on ruby 2.6: rb_thread_call_without_gvl doesn't invoke unblock_function when used on the main thread — apolcyn@...
Issue #15499 has been updated by apolcyn (alex polcyn).
3 messages
2019/01/03
[#90895] Re: [ruby-alerts:11680] failure alert on trunk-mjit@silicon-docker (NG (r66707)) — Eric Wong <normalperson@...>
ko1c-failure@atdot.net wrote:
4 messages
2019/01/05
[#90896] Re: [ruby-alerts:11680] failure alert on trunk-mjit@silicon-docker (NG (r66707))
— Takashi Kokubun <takashikkbn@...>
2019/01/05
Thanks to explain that.
[#91200] [Ruby trunk Feature#15553] Addrinfo.getaddrinfo supports timeout — glass.saga@...
Issue #15553 has been reported by Glass_saga (Masaki Matsushita).
4 messages
2019/01/21
[#91289] Re: [Ruby trunk Feature#15553] Addrinfo.getaddrinfo supports timeout
— Eric Wong <normalperson@...>
2019/01/26
glass.saga@gmail.com wrote:
[ruby-core:91143] Re: [Ruby trunk Bug#15544] sprintf returns an unexpected string
From:
Austin Ziegler <halostatue@...>
Date:
2019-01-17 20:14:47 UTC
List:
ruby-core #91143
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("%.16g\n", 8.78);
}
compile and run this and you will get the same result.
The problem is floating-point values cannot be represented in binary
exactly.
https://developers.slashdot.org/story/10/05/02/1427214/what-every-programmer-should-know-about-floating-point-arithmetic
-a
On Thu, Jan 17, 2019 at 2:52 PM <andre.kullmann@googlemail.com> wrote:
> Issue #15544 has been reported by areman01 (Andrテゥ Kullmann).
>
> ----------------------------------------
> Bug #15544: sprintf returns an unexpected string
> https://bugs.ruby-lang.org/issues/15544
>
> * Author: areman01 (Andrテゥ Kullmann)
> * Status: Open
> * Priority: Normal
> * Assignee:
> * Target version:
> * ruby -v: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
> * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
> ----------------------------------------
> Hello,
>
> I've a little problem with the sprintf function. It returns unexpected
> results ( in my opinion )
>
> ``` ruby
> sprintf("%.16g", 8.78)
> # returns "8.779999999999999"
> # my expected result is "8.78"
> ```
>
> Can somebody explain this behavior to me ?
>
> Best Begards
>
>
>
> --
> 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>
>
--
Austin Ziegler 窶「 halostatue@gmail.com 窶「 austin@halostatue.ca
http://www.halostatue.ca/ 窶「 http://twitter.com/halostatue
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>