Project

General

Profile

Actions

Bug #21814

open

0.pow(2,-9999999999999999990) should be zero

Bug #21814: 0.pow(2,-9999999999999999990) should be zero

Added by matz (Yukihiro Matsumoto) about 2 hours ago.

Status:
Open
Assignee:
-
Target version:
[ruby-core:124388]

Description

When I try 0.pow(2,-9999999999999999990), irb prints -9999999999999999990, but I think no matter what you divide zero by, the modulo should be zero.

Matz.

No data to display

Actions

Also available in: PDF Atom