From: jonathan+ruby@... Date: 2015-01-21T05:22:28+00:00 Subject: [ruby-core:67713] [ruby-trunk - Bug #10762] [Open] Math ** 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/