ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: nobu@ruby-lang.org
To: ruby-core@ruby-lang.org
Subject: [ruby-core:86836] [Ruby trunk Bug#14731] Float() ignores exponent in long string
Date: Wed, 02 May 2018 13:32:30 +0000 (UTC)	[thread overview]
Message-ID: <redmine.issue-14731.20180502133227.394ce00cbdcc3571@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-14731.20180502133227@ruby-lang.org

Issue #14731 has been reported by nobu (Nobuyoshi Nakada).

----------------------------------------
Bug #14731: Float() ignores exponent in long string
https://bugs.ruby-lang.org/issues/14731

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED
----------------------------------------
Related to #14729:

```ruby
Float("1."+"00000"*Float::DIG+"0e10") #=> 10000000000.0
Float("1."+"00000"*Float::DIG+"_0e10") #=> 1.0
```




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

       reply	other threads:[~2018-05-02 13:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-14731.20180502133227@ruby-lang.org>
2018-05-02 13:32 ` nobu [this message]
2019-01-20  5:13 ` [ruby-core:91188] [Ruby trunk Bug#14731] Float() ignores exponent in long string nagachika00

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.issue-14731.20180502133227.394ce00cbdcc3571@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).