[MacRuby-devel] [MacRuby] #695: Bitwise operations on Float results in Seg fault
MacRuby
ruby-noreply at macosforge.org
Thu May 6 15:23:54 PDT 2010
#695: Bitwise operations on Float results in Seg fault
-------------------------------+--------------------------------------------
Reporter: niklas@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
-------------------------------+--------------------------------------------
Comment(by lsansonetti@…):
Looks like these operations should not be callable on floats. However, on
my environment I cannot reproduce the crashes:
{{{
$ ./miniruby -e "p (1.2 | 1)"
1.20000000000003
$ ./miniruby -e "p ~1.2"
-3.59999999999999
$ ./miniruby -e "p (1.2 < 1)"
false
$ ./miniruby -e "p (1.2 ^ 1)"
1.19999999999997
}}}
Do you have a backtrace or crash report to share?
--
Ticket URL: <http://www.macruby.org/trac/ticket/695#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list