General

Profile

masa16 (Masahiro Tanaka)

Issues

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

Activity

04/27/2018

10:19 PM Ruby master Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
Alternative idea: If Ruby has a feature like:
~~~ ruby
x = x.left_variable? # => true
y = x.left_variable? # => ...
masa16 (Masahiro Tanaka)

04/26/2018

09:30 AM Ruby master Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
I think it is enough to change the meaning of
~~~ ruby
x += a
~~~
to
~~~ ruby
if x.respond_to?(:'+=')
...
masa16 (Masahiro Tanaka)
09:28 AM Ruby master Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
nobu (Nobuyoshi Nakada) wrote:
> It seems a different story from `+=`.
I am sorry for getting off the point, but ...
masa16 (Masahiro Tanaka)
01:17 AM Ruby master Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
Former NArray had `add!` method, but it results in a confused result.
~~~ ruby
require 'narray'
a = NArray.int...
masa16 (Masahiro Tanaka)

12/26/2016

01:23 PM Ruby master Bug #13076 (Closed): SEGV in io.c when reading closed stream in Thread
System: CentOS Linux release 7.3.1611 (Core)
Kernel: 3.10.0-514.2.2.el7.x86_64
GCC: gcc version 4.8.5 20150623 (Re...
masa16 (Masahiro Tanaka)

10/02/2011

06:53 PM Ruby master Bug #4576: Range#step miss the last value, if end-exclusive and has float number
2011/9/17 Masahiro TANAKA <masa16.tanaka@gmail.com>:
> --- numeric.c (revision 33288)
> +++ numeric.c (working co...
masa16 (Masahiro Tanaka)

09/21/2011

09:29 PM Ruby master Bug #4576: Range#step miss the last value, if end-exclusive and has float number
I haven't explained the reason of the error estimation in
Range#step for Float;

double n = (end - beg)/...
masa16 (Masahiro Tanaka)
07:23 PM Ruby master Bug #4576: Range#step miss the last value, if end-exclusive and has float number
2011/9/20 Tanaka Akira <akr@fsij.org>:
> However the algorithm doesn't solve [ruby-core:39602] and [ruby-core:3960...
masa16 (Masahiro Tanaka)

09/17/2011

07:23 PM Ruby master Bug #4576: Range#step miss the last value, if end-exclusive and has float number
I have not been watching ruby-core, but let me give a comment for this issue.
I proposed Numeric#step algorithm for F...
masa16 (Masahiro Tanaka)

Also available in: Atom