[#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:67715] [ruby-trunk - Bug #10762] [Rejected] Math **

From: nobu@...
Date: 2015-01-21 06:18:44 UTC
List: ruby-core #67715
Issue #10762 has been updated by Nobuyoshi Nakada.

Status changed from Open to Rejected

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

* Author: Jonathan Thomas
* Status: Rejected
* 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