[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67713] [ruby-trunk - Bug #10762] [Open] Math **

From: jonathan+ruby@...
Date: 2015-01-21 05:22:28 UTC
List: ruby-core #67713
Issue #10762 has been reported by Jonathan Thomas.

----------------------------------------
Bug #10762: Math **
https://bugs.ruby-lang.org/issues/10762

* Author: Jonathan Thomas
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
According to the Maths, "any number raised to the zero power equals one".

Yet:

~~~
ruby -e 'puts((-1 ** 0) == 1)'
=> false

~~~




-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next