#695: Bitwise operations on Float results in Seg fault
-------------------------------+--------------------------------------------
 Reporter:  nik...@…           |       Owner:  lsansone...@…        
     Type:  defect             |      Status:  new                  
 Priority:  major              |   Milestone:                       
Component:  MacRuby            |    Keywords:                       
-------------------------------+--------------------------------------------

Comment(by lsansone...@…):

 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/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to