General

Profile

ytomino (yuta tomino)

  • Login: ytomino
  • Registered on: 01/25/2017
  • Last sign in: 04/29/2017

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 0 0

Activity

01/25/2017

01:10 AM Ruby master Bug #13152: Numeric parsing differences between ruby <-> crystal
By the way, about "/" and "%" operators, in Ruby:
~~~
irb(main):001:0> -10%3 # (-10) % 3 == 2
=> 2
irb(main):00...
ytomino (yuta tomino)
12:54 AM Ruby master Bug #13152: Numeric parsing differences between ruby <-> crystal
Ada
~~~
with Ada.Integer_Text_IO;
procedure pow is
begin
Ada.Integer_Text_IO.Put (-2 ** 4);
end;
~~~
...
ytomino (yuta tomino)

Also available in: Atom