Skip to content

Problem with Real.fromString on 32-bit systems #354

@dlicata335

Description

@dlicata335

Version

110.99.7.1 (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

A student has a problem with Real.fromString on Windows. I was unable to reproduce the problem on my Intel Mac with SMLNJ 110.7 or 110.7.1. The student reports the following setup

Processor: AMD Ryzen 9 8945HS w/ Radeon 780M Graphics 4.00 GHz
Windows:
Edition: Windows 11 Home
Version: 24H2
Installed: on ‎2/‎15/‎2025
OS build: 26100.3476
Experience: Windows Feature Experience Pack 1000.26100.54.0

Transcript

  • Real.fromString "1E1";
    val it = SOME 5.31664595E~315 : real option

Expected Behavior

val it = SOME 10.0

Steps to Reproduce

see above

Additional Information

No response

Email address

dlicata@wesleyan.edu

Metadata

Metadata

Assignees

Labels

32-bit systemsIssues specific to legacy 32-bit systemsbasis-libproblem with Standard ML Basis librarybugSomething isn't workingfixed-in-110.99.8Issues fixed in the 110.99.8 releasefloating-pointproblem related to floating-point operations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions