repo.or.cz
/
altfloat.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial commit
[altfloat.git]
/
Data
/
Floating
/
Classes.hs
blob
91917d575ce828ba27fb517ddf0a1a177a95136c
1
module
Data
.
Floating
.
Classes
where
2
3
import
Prelude
hiding
(
Floating
)
4
5
class
Fractional a
=>
Floating a
where
6
copysign
::
a
->
a
->
a
7
infinity
::
a
8
nan
::
a
9
10
infinity
=
1
/
0
11
nan
=
0
/
0