Version
110.99
Operating System
OS Version
No response
Processor
Any
Component
Basis Library
Severity
Minor
Description of the problem
SML/NJ declares:
val fromDecimal : IEEEReal.decimal_approx -> real
The Basis Library declares:
val fromDecimal : IEEEReal.decimal_approx -> real option
https://smlfamily.github.io/Basis/real.html#SIG:REAL.toDecimal:VAL
Although Real.fromDecimal is not implemented, it would be useful if its type matched the Basis Library to aid portability of code. (A user may chose to provide their own implementation which would be easier if the signature REAL didn't need to be redeclared.)
Transcript
No response
Expected Behavior
No response
Steps to Reproduce
open Real;
Additional Information
No response
Email address
phil.clayton@veonix.com
Comments from smlnj-gforge
Original smlnj-gforge bug number 319
Submitted via web form by Phil Clayton phil.clayton@veonix.com on 2022-07-06 at 12:06:00
Keywords: reals
comment by @JohnReppy on 2022-07-06 13:26:00 +000 UTC
Fixed for 110.99.3 and 2022.1
Version
110.99
Operating System
OS Version
No response
Processor
Any
Component
Basis Library
Severity
Minor
Description of the problem
SML/NJ declares:
val fromDecimal : IEEEReal.decimal_approx -> realThe Basis Library declares:
val fromDecimal : IEEEReal.decimal_approx -> real optionhttps://smlfamily.github.io/Basis/real.html#SIG:REAL.toDecimal:VAL
Although
Real.fromDecimalis not implemented, it would be useful if its type matched the Basis Library to aid portability of code. (A user may chose to provide their own implementation which would be easier if the signatureREALdidn't need to be redeclared.)Transcript
No response
Expected Behavior
No response
Steps to Reproduce
open Real;
Additional Information
No response
Email address
phil.clayton@veonix.com
Comments from smlnj-gforge
Original smlnj-gforge bug number 319
Submitted via web form by Phil Clayton phil.clayton@veonix.com on 2022-07-06 at 12:06:00
Keywords: reals
comment by @JohnReppy on 2022-07-06 13:26:00 +000 UTC
Fixed for 110.99.3 and 2022.1