[#87847] undefined symbol: mjit_init_p — Leam Hall <leamhall@...>

I pulled Ruby trunk on 3 Jul and am now getting errors similar to the

10 messages 2018/07/07

[#88088] [Ruby trunk Misc#14937] [PATCH] thread_pthread: lazy-spawn timer-thread only on contention — normalperson@...

Issue #14937 has been reported by normalperson (Eric Wong).

9 messages 2018/07/24

[ruby-core:88025] Re: [Ruby trunk Feature#14924] // floor division operator

From: Thibault Jouan <[email protected]>
Date: 2018-07-20 17:23:19 UTC
List: ruby-core #88025
> In my job, I have to do many math operations. And it's kind of a pain because of integer division (3 / 2 == 1). I have to constantly cast integers to floats.

  I'm not sure if this is better for your use case, but as an
alternative to conversions, we may use:

~~~ ruby
3.fdiv 2
~~~

> Would it be a good idea to always return a float when you divide two numbers? I mean, 99% of the time you just want that. (The principle of least surprise.)

  I think it may be subjective, 99 of the time I do want integer
division-)

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next