Uniform access to IEEE floating point parameters? #587
ornamentist
started this conversation in
Ideas and Proposals
Replies: 1 comment 5 replies
-
I think so. Probably something like |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a place in the Coalton numeric typeclasses for uniform access to IEEE floating point parameters? I'm thinking of something like
https://hackage.haskell.org/package/ieee-0.7/docs/Numeric-IEEE.html
.This would allow, for example uniform access to
min-normal
ormax-finite
forSingle-Float
,Double-Float
and any other IEEE floating point types we might later support (e.g. float-16 or float-128).I understand these values and related functions are available in the underlying Common Lisp standard library, so we can always access them via a
(cl:foo...)
function.Beta Was this translation helpful? Give feedback.
All reactions