Skip to content

Real.fromString broken in 110.99.5 and 110.99.6 #328

@dlicata335

Description

@dlicata335

Version

110.99.6 (Latest)

Operating System

  • Any
  • Linux
  • macOS
  • Windows
  • Other Unix

OS Version

No response

Processor

  • Any
  • Arm (using Rosetta)
  • PowerPC
  • Sparc
  • x86 (32-bit)
  • x86-64 (64-bit)
  • Other

System Component

Basis Library

Severity

Major

Description

Real.fromString seems to be ignoring/misinterpreting the decimal point. It worked last semester on 110.99.4 but is broken for some students this semester on 110.99.5, and also on 110.99.6.

Transcript

No response

Expected Behavior

No response

Steps to Reproduce

Real.fromString ("1.11");
val it = SOME 1 : real option

  • Real.fromString ("123.45");
    val it = SOME 123 : real option

Real.fromString (".11");
val it = SOME 1100 : real option

Real.fromString ("0.11");
val it = SOME 0 : real option

Additional Information

No response

Email address

dlicata@wesleyan.edu

Metadata

Metadata

Assignees

Labels

basis-libproblem with Standard ML Basis librarybugSomething isn't workingfixed-in-110.99.7Issues fixed in 110.99.7

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions