repo.or.cz
/
altfloat.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
floating: Add instances for CDouble and CFloat.
2010-02-20
Nick
B
o
w
l
e
r
floating:
A
dd in
s
t
a
n
c
e
s for
CDoub
l
e and CFloat
.
commit
|
commitdiff
|
tree
2010-02-20
Nick Bowler
floating: Fix off-by-one e
r
ror in s
c
aleRatio
n
al
.
commit
|
commitdiff
|
tree
2010-02-19
Nick Bowler
floating: Spli
t
out format
t
ing f
r
om the Double mo
d
u
le
.
commit
|
commitdiff
|
tree
2010-02-19
N
i
ck Bowler
f
l
o
ating: Make fromRational
w
ork pr
o
p
e
r
ly
.
commit
|
commitdiff
|
tree
2010-02-19
N
i
ck Bowler
floating: Add scalb as the a
l
tf
l
oat version of
s
calbln
.
commit
|
commitdiff
|
tree
2010-02-19
Nick
Bowle
r
floating: Add anot
h
er characteristic fu
n
ction and generalize
.
.
.
commit
|
commitdiff
|
tree
2010-02-19
Nick Bowler
floating: Add som
e
float
i
n
g
point character
i
stic funct
i
on
s
.
commit
|
commitdiff
|
tree
2010-02-12
Nick Bowler
floating: Punt the FFI newtype wrappers
.
commit
|
commitdiff
|
tree
2010-02-06
Ni
c
k Bowler
alt
f
loat-0
.
3
commit
|
commitdiff
|
tree
2010-02-05
Nick Bowl
e
r
doc: Add haddock documenta
t
ion for the RealFloat
class
.
commit
|
commitdiff
|
tree
2010-02-05
Nick Bowler
float
i
ng: Ren
a
m
e tgamma
t
o
gamma
.
commit
|
commitdiff
|
tree
2010-02-05
Ni
c
k Bowler
float
i
ng: Move
the
D
o
uble and
F
loat modules
.
commit
|
commitdiff
|
tree
2010-02-05
N
ick Bowler
floating: Use nearbyint instead of round in
f
quot
R
em
.
commit
|
commitdiff
|
tree
2010-02-05
Nick Bowler
f
loating: Ad
d
rint
f
unct
i
on to com
p
lement n
e
a
r
by
i
nt
.
commit
|
commitdiff
|
tree
2010-02-05
Nick Bowler
examples:
A
dd
a
demonstration of why FEnv is s
t
ill
.
.
.
commit
|
commitdiff
|
tree
2010-02-05
Nick Bow
l
er
f
e
nv:
A
dd suppor
t
f
o
r rai
s
ing except
i
o
ns explicitly
.
commit
|
commitdiff
|
tree
2010-02-05
Nick Bowler
cfloat: Use FE_ALL_EXCEPT instead of -
1
.
commit
|
commitdiff
|
tree
2010-02-02
Nick Bowle
r
compat: Make
an effort to suppo
r
t
fma properly
.
commit
|
commitdiff
|
tree
2010-02-02
Nick Bowl
e
r
fl
o
ating: Punt the
class vers
i
on of
C
's remquo fun
c
tion
.
commit
|
commitdiff
|
tree
2010-02-02
N
i
ck Bowler
floating:
A
dd
a
separate class for the basic f
l
oat
i
ng
.
.
.
commit
|
commitdiff
|
tree
2010-01-31
N
ick Bowler
compat:
A
dd note to
s
o
u
rce file about
non-conform
a
nce
.
commit
|
commitdiff
|
tree
2010-01-30
Ni
c
k Bowler
doc: Acknowledge the
e
xistence of floati
n
g
p
o
i
n
t environment
.
.
.
commit
|
commitdiff
|
tree
2010-01-30
Nick Bowler
co
m
pat:
Imple
m
e
n
t
wrapp
e
rs for C99 floa
t
-valued
functions
.
commit
|
commitdiff
|
tree
2010-01-28
N
ick Bowle
r
b
u
ild:
Fix
b
ui
l
d
type
in c
a
b
al file
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bowler
c
o
mpa
t
: Ad
d
c
o
nfigur
e
warni
n
g when replaceme
n
ts are
.
.
.
commit
|
commitdiff
|
tree
2010-01-28
N
i
ck
Bowler
cfloat: Ad
d
compatibility wrappers
for
some C99 functions
.
commit
|
commitdiff
|
tree
2010-01-28
Nick
B
o
wler
build: A
d
d sour
c
e repos
i
tory to cab
a
l file
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bowler
fenv: Add explicit
def
i
n
i
tions for infin
i
ty, nan
and pi
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bowler
fenv: Fix
embarrassing typo in t
h
e Fractional instance
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bow
l
e
r
f
e
nv: Re-e
x
po
r
t Control
.
Ap
p
licative
s
in
c
e users need it
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bowler
floating: Add exception supp
o
rt to fenvEval
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bowler
l
i
cense: Fix copyright
y
ears in source files
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bowler
floating:
U
se a strict
d
a
ta cons
t
ructor for FEnv
.
commit
|
commitdiff
|
tree
2010-01-28
N
i
ck Bowler
floating: A
d
d initial support for floa
t
i
n
g p
o
int exc
e
ptions
.
commit
|
commitdiff
|
tree
2010-01-27
Nick Bow
l
er
f
l
o
ating
:
Add
n
earb
y
int
t
o
the
R
ealFloat
c
l
ass
.
commit
|
commitdiff
|
tree
2010-01-27
Nic
k
B
o
wl
e
r
build: Update ca
b
al dependency information
fo
r
GHC
.
.
.
commit
|
commitdiff
|
tree
2010-01-27
Nic
k
Bow
l
er
f
l
o
at: Remove use of de
c
od
e
F
loat
I
nteger
.
commit
|
commitdiff
|
tree
2010-01-27
Nic
k
Bowler
floa
t
in
g
: Use b
a
ng pat
t
erns for unlifted
b
i
n
d
i
ngs
.
commit
|
commitdiff
|
tree
2010-01-27
Nick
B
owler
c
flo
a
t
: remove INCLUDE pragmas as GHC 6
.
12 hates them
.
commit
|
commitdiff
|
tree
2010-01-27
Nick Bow
l
er
build:
A
dd miss
i
n
g Data
.
Fl
o
ating
.
Float to cabal file
.
commit
|
commitdiff
|
tree
2010-01-27
N
ick
B
owler
f
l
o
ating: Add initial support for t
h
e fl
o
ating
p
oint
.
.
.
commit
|
commitdiff
|
tree
2010-01-26
Nick Bowler
b
uild: Add
h
omepage
.
commit
|
commitdiff
|
tree
2010-01-25
Nic
k
Bowler
cfloat: Generalize d
o
uble_format
to allow specifyin
g
.
.
.
commit
|
commitdiff
|
tree
2010-01-25
Nick Bo
w
ler
float: Ad
d
class inst
a
nc
e
s for Float
.
commit
|
commitdiff
|
tree
2010-01-25
Nick Bowl
e
r
cma
t
h: Add bindi
n
gs for float-valued functions
.
commit
|
commitdiff
|
tree
2010-01-21
Nick Bo
w
ler
al
t
float-0
.
2
commit
|
commitdiff
|
tree
2010-01-21
Nick Bowler
l
i
cens
e
: A
d
d missing copy
r
ight
h
eader
s
.
commit
|
commitdiff
|
tree
2010-01-21
N
i
c
k Bowler
doc: Add rationale behind th
e
Ro
u
nd
a
ble cl
a
ss
.
commit
|
commitdiff
|
tree
2010-01-21
Nick Bowler
doc: F
i
x
o
op
s
i
n
desc
r
i
p
tion of Ord
class
.
commit
|
commitdiff
|
tree
2010-01-20
N
ick Bowler
pose
t
: Add com
m
utativity note for max and
min
.
commit
|
commitdiff
|
tree
2010-01-20
N
ick Bowler
poset:
Rename isSigni
f
icant to
i
s
O
rd
e
red
.
commit
|
commitdiff
|
tree
2010-01-20
Nick Bowler
doc: Move libr
a
ry de
s
cription to a better
h
om
e
.
commit
|
commitdiff
|
tree
2010-01-19
N
i
ck Bowler
build: Hackage-ify the
c
a
b
al file
.
commit
|
commitdiff
|
tree
2009-12-24
Nic
k
B
o
wler
floating: A
d
d Round
a
ble in
s
tance for Integral a =>
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
N
ick Bo
w
ler
p
oset: Add instance for Inte
g
ral a
=
> Ratio a
.
commit
|
commitdiff
|
tree
2009-12-24
Nic
k
Bowler
doc: Minor haddoc
k
m
arkup fi
x
.
commit
|
commitdiff
|
tree
2009-12-24
Nick Bowler
d
oubl
e
:
Add a
n
En
u
m instance
.
commit
|
commitdiff
|
tree
2009-12-24
Nick Bowler
float
i
ng: A
d
d a clas
s
which
supports roundin
g
funct
i
on
s
.
commit
|
commitdiff
|
tree
2009-12-24
Ni
c
k Bo
w
ler
f
l
o
ating: Fix
broken
i
sFinite impl
e
mentation
.
commit
|
commitdiff
|
tree
2009-11-23
Nick
B
owler
f
loating:
G
et rid of the ext
r
a Instanc
e
s modu
l
e
.
commit
|
commitdiff
|
tree
2009-11-23
Nick Bowler
po
s
et: R
e
move I
n
cohe
r
e
n
tI
n
stances
a
nd
defi
n
e
our ow
n
.
.
.
commit
|
commitdiff
|
tree
2009-11-21
Nick B
o
wler
poset: Us
e
Inco
h
e
r
entInstances to
r
esolve overlaps
.
commit
|
commitdiff
|
tree
2009-11-21
Nick Bowler
floa
t
ing: Upda
t
e
e
xpor
t
lists
.
commit
|
commitdiff
|
tree
2009-11-21
N
i
ck Bowle
r
doubl
e
: Sp
l
it
out fo
r
eig
n
dec
l
a
rations into their own
.
.
.
commit
|
commitdiff
|
tree
2009-11-20
Nick
B
owler
do
c
: Update haddock comme
n
ts for Data
.
P
o
set
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowler
poset: Export th
e
Ord class (but not
i
ts methods)
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowler
doc: Elaborate
o
n why
Ord in
s
tances for floa
t
ing types
.
.
.
commit
|
commitdiff
|
tree
2009-11-20
Nick
Bowler
fl
o
at
i
ng: A
d
d fquotRe
m
,
the analogue of
C'
s
r
e
mquo
.
commit
|
commitdiff
|
tree
2009-11-20
N
i
ck Bowler
floatin
g
: Add f
m
a
function
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowler
d
o
uble: Im
p
lement specific comparison f
u
n
cti
o
ns
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowl
e
r
double:
R
emove s
u
perfluous p
a
r
e
ntheses
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowler
b
u
ild: Upda
t
e ca
b
al sc
r
ipt
fo
r
d
i
stribution
.
commit
|
commitdiff
|
tree
2009-11-20
Nick
Bowl
e
r
misc: Fi
x
FFI pragmas
.
commit
|
commitdiff
|
tree
2009-11-20
N
i
ck Bowler
license: Ad
d
copyr
i
gh
t
and license
i
nfo
r
mat
i
on
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowl
e
r
cfl
o
at: Update
cfloat
.
h
.
commit
|
commitdiff
|
tree
2009-11-20
Ni
c
k
B
owler
doc: A
d
d
a
detailed ov
e
r
v
iew of the purpose of the
.
.
.
commit
|
commitdiff
|
tree
2009-11-20
Nick
Bow
l
e
r
d
o
cs:
U
pdate haddock
markup and ad
d
a t
r
i
v
ia
l
f
u
nction
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowler
do
u
ble: Add Poset and Sortable instances
.
commit
|
commitdiff
|
tree
2009-11-20
Ni
c
k
B
o
wler
poset: Add a class for partially ordered dat
a
ty
p
e
s
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowle
r
build: Add a
n
autocon
f
c
o
nfigure
s
cript to determine
.
.
.
commit
|
commitdiff
|
tree
2009-11-19
Nick B
o
wler
floating: Ad
d
descrip
t
ion
of floating classes
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
fl
o
a
t
ing: Add remainde
r
function
s
.
commit
|
commitdiff
|
tree
2009-11-19
Nick B
o
wler
cf
l
oa
t
:
Allow a pri
n
tf
f
orma
t
sp
e
ci
f
ier to be
passed
.
.
.
commit
|
commitdiff
|
tree
2009-11-19
Ni
c
k
B
owler
double: implement fro
m
Integer using
t
o
F
l
o
a
ting
.
commit
|
commitdiff
|
tree
2009-11-19
Ni
c
k Bow
l
er
flo
a
ting: A
l
l
ow c
o
nversion from any
R
eal
to Double
.
.
.
commit
|
commitdiff
|
tree
2009-11-19
Ni
c
k
B
owler
floating: Export the toFloating function from
D
at
a
.
.
.
commit
|
commitdiff
|
tree
2009-11-19
Ni
c
k Bowler
flo
a
tin
g
: Add error
a
nd gamma
f
unctions
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
floa
t
ing
:
Add
p
ower
f
unctions
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bow
l
er
floating: Add h
y
perb
o
l
i
c trigonomet
r
ic fun
c
tions
.
commit
|
commitdiff
|
tree
2009-11-19
N
ick Bowler
t
y
p
es: Us
e
ope
r
ations in GHC
.
Pri
m
f
or do
u
ble <=> fl
o
at
.
.
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
flo
a
ting
:
A
dd classifica
t
ion functions
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
floating
:
Add nextafter
.
commit
|
commitdiff
|
tree
2009-11-19
Nick
B
owler
fl
o
a
ting: Add some of the e
x
pon
e
ntial
fu
n
ctions
.
commit
|
commitdiff
|
tree
2009-11-19
Nick
B
owle
r
floating: Add trigonometric
fun
c
tions
.
commit
|
commitdiff
|
tree
2009-11-19
Nick
Bowler
fl
o
ating: Split Flo
a
ting into Floating and RealFloat
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
doub
l
e
: Simplify foreign calls
.
commit
|
commitdiff
|
tree
2009-11-19
Ni
c
k B
o
w
ler
floating: Add *
*
op
e
rator to Floatin
g
class
.
commit
|
commitdiff
|
tree
2009-11-19
N
i
ck Bo
w
ler
Initi
a
l
commit
commit
|
commitdiff
|
tree