From: baseermalik913@...
Date: 2019-08-24T15:21:44+00:00
Subject: [ruby-core:94535] [Ruby master Bug#4394] Bug in floating point	multiplication

Issue #4394 has been updated by StoneBritanney (Britanney Stone).

Description updated

"Google":http://www.google.com/


----------------------------------------
Bug #4394: Bug in floating point multiplication
https://bugs.ruby-lang.org/issues/4394#change-80975

* Author: philomath (Stefan Lembach)
* Status: Rejected
* Priority: Normal
* Assignee: 
* Target version: 1.9.2
* ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]
* Backport: 
----------------------------------------
=begin
 I stumbled upon the following odd rounding error in Float multiplication while using irb to calculate the tip for the pizza service ;-):
 
 12.4 * 1.05 yields 13.020000000000001, but should be 13.02
=end




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

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>