-
Notifications
You must be signed in to change notification settings - Fork 11
Incorrect formatting of real number #194
Copy link
Copy link
Closed
Labels
basis-libproblem with Standard ML Basis libraryproblem with Standard ML Basis librarybugSomething isn't workingSomething isn't workingfixed-in-110.99.5issues that will be fixed in the 110.99.5 versionissues that will be fixed in the 110.99.5 versionfloating-pointproblem related to floating-point operationsproblem related to floating-point operationsgforgebug (or feature request) ported from smlnj-gforge repositorybug (or feature request) ported from smlnj-gforge repository
Metadata
Metadata
Assignees
Labels
basis-libproblem with Standard ML Basis libraryproblem with Standard ML Basis librarybugSomething isn't workingSomething isn't workingfixed-in-110.99.5issues that will be fixed in the 110.99.5 versionissues that will be fixed in the 110.99.5 versionfloating-pointproblem related to floating-point operationsproblem related to floating-point operationsgforgebug (or feature request) ported from smlnj-gforge repositorybug (or feature request) ported from smlnj-gforge repository
Type
Fields
Give feedbackNo fields configured for issues without a type.
Version
110.85
Operating System
OS Version
No response
Processor
No response
Component
Basis Library
Severity
Cosmetic
Description of the problem
Formatting of a large integer represented as a real
number adds a fractional part. This bug turns up in
the Basis regression tests.
Additional comments:
This bug may be a problem with the handling of real literals,
since I've observed the following:
val it = "918273645091821.000000" : string
Transcript
Expected Behavior
No response
Steps to Reproduce
Real.fmt (StringCvt.FIX NONE) 91827364509182.0;
Additional Information
No response
Email address
jhr@cs.uchicago.edu
Comments from smlnj-gforge
Original smlnj-gforge bug number 221
Submitted via web form by John Reppy jhr@cs.uchicago.edu on 2019-05-03 at 16:36:00
Keywords: basis, reals