Project

General

Profile

Actions

Bug #10762

closed

Math **

Added by jayteesf (Jonathan Thomas) over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
[ruby-core:67713]

Description

According to the Maths, "any number raised to the zero power equals one".

Yet:

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

Actions

Also available in: Atom PDF

Like0
Like0Like0