Skip to content

The fromDecimal and toDecimal functions in the Real structure are not implemented. #296

Description

@JohnReppy

Version

110.99.4 (Latest)

Operating System

  • Any
  • Linux
  • macOS
  • Windows
  • Other Unix

OS Version

n.a.

Processor

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

System Component

Basis Library

Severity

Minor

Description

The Real.fromDecimal and Real.toDecimal functions defined by the Standard ML Basis Library are not implemented.

Transcript

- Real.toDecimal 0.1;

uncaught exception Fail [Fail: Real.toDecimal unimplemented]
  raised at: Basis/Implementation/real64.sml:236.29-236.64
- Real.fromDecimal {class=IEEEReal.NORMAL, sign=false, digits=[1,2,5], exp=0};

uncaught exception Fail [Fail: Real.fromDecimal unimplemented]
  raised at: Basis/Implementation/real64.sml:237.31-237.68

Expected Behavior

No response

Steps to Reproduce

See transcript.

Additional Information

No response

Email address

jhr@cs.uchicago.edu

Metadata

Metadata

Assignees

Labels

basis-libproblem with Standard ML Basis librarybugSomething isn't workingfixed-in-110.99.5issues that will be fixed in the 110.99.5 version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions