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 Bowler
float
i
ng: Add instances for CDou
b
le and
C
Float
.
commit
|
commitdiff
|
tree
2010-02-20
Nick Bowler
fl
o
a
t
ing: Fix off-
b
y-one
error in scaleRational
.
commit
|
commitdiff
|
tree
2010-02-19
Nick Bowler
f
l
oating: Spl
i
t
out formatting from the D
o
u
ble module
.
commit
|
commitdiff
|
tree
2010-02-19
Nick Bowle
r
fl
o
ati
n
g: Make f
r
omRational wo
r
k proper
l
y
.
commit
|
commitdiff
|
tree
2010-02-19
Nick
Bowler
floating: Add sca
l
b as
the
a
ltfloat version o
f
scalbln
.
commit
|
commitdiff
|
tree
2010-02-19
N
ic
k
Bo
w
ler
floating: A
d
d
a
nother
c
h
aracteristic
function
and genera
l
ize
.
.
.
commit
|
commitdiff
|
tree
2010-02-19
Nick Bowler
f
l
oatin
g
:
A
d
d some
floating
point characte
r
istic function
s
.
commit
|
commitdiff
|
tree
2010-02-12
Nick Bowler
flo
a
ting: Pun
t
t
he FF
I
newtype wrappers
.
commit
|
commitdiff
|
tree
2010-02-06
Ni
c
k
Bowler
altfl
o
at
-
0
.
3
commit
|
commitdiff
|
tree
2010-02-05
Nick Bowle
r
d
o
c
:
Add haddo
c
k doc
u
men
t
ation
f
or the
R
ealFloat class
.
commit
|
commitdiff
|
tree
2010-02-05
Ni
c
k B
o
wle
r
floating
:
R
e
n
am
e
t
ga
m
ma to gamma
.
commit
|
commitdiff
|
tree
2010-02-05
N
ick Bowler
floating: M
o
ve the Double and
Float m
o
du
l
es
.
commit
|
commitdiff
|
tree
2010-02-05
Nic
k
B
o
wler
floa
t
i
n
g:
U
se nearbyint instead of round in fquot
R
em
.
commit
|
commitdiff
|
tree
2010-02-05
Nick Bow
l
er
f
loati
n
g: Add rint
f
unction to compleme
n
t nearbyint
.
commit
|
commitdiff
|
tree
2010-02-05
Ni
c
k B
o
wler
examples:
Add a demonstration of
w
hy F
E
nv
i
s
sti
l
l
.
.
.
commit
|
commitdiff
|
tree
2010-02-05
N
i
c
k
Bo
w
ler
fenv
:
Add suppo
r
t for
raising exceptio
n
s explicitly
.
commit
|
commitdiff
|
tree
2010-02-05
Nic
k
Bo
w
ler
cfloat: Use FE_ALL_EXCEPT instead
of -
1
.
commit
|
commitdiff
|
tree
2010-02-02
Nick Bow
l
er
compat
:
Make an effort to suppor
t
fma prop
e
rly
.
commit
|
commitdiff
|
tree
2010-02-02
Nick
B
owler
float
i
ng: Punt the cla
s
s version o
f
C's remquo function
.
commit
|
commitdiff
|
tree
2010-02-02
Nic
k
Bowler
floatin
g
: A
d
d
a separa
t
e class fo
r
the basic floating
.
.
.
commit
|
commitdiff
|
tree
2010-01-31
Nick
Bowler
co
m
pat: Add note
t
o source file ab
o
ut non-con
f
orma
n
c
e
.
commit
|
commitdiff
|
tree
2010-01-30
Nick Bowler
doc: Ackno
w
le
d
ge
t
he exist
e
nce of floa
t
ing
p
oint env
i
r
o
nme
n
t
.
.
.
commit
|
commitdiff
|
tree
2010-01-30
N
i
ck Bowler
compa
t
: Implement wrappers for C99
float-valued functions
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bo
w
ler
bu
i
ld: Fi
x
b
u
i
ld type in
c
abal
file
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bowler
compa
t
:
Add c
o
nfigure warning when re
p
lacement
s
are
.
.
.
commit
|
commitdiff
|
tree
2010-01-28
Ni
c
k Bowl
e
r
cfloat: A
d
d compatibili
t
y wrap
p
ers for some C99
f
unctions
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bowler
build: Add source repository to cabal fi
l
e
.
commit
|
commitdiff
|
tree
2010-01-28
N
i
ck Bowler
fenv: Add explic
i
t definition
s
for i
n
finity,
n
an and pi
.
commit
|
commitdiff
|
tree
2010-01-28
Nic
k
Bowler
fenv:
F
i
x e
m
barr
a
ssi
n
g typo in the Fr
a
ctional instance
.
commit
|
commitdiff
|
tree
2010-01-28
Nick
Bowler
f
e
nv
:
Re-
e
xport Con
t
rol
.
Applicative since
u
sers
need it
.
commit
|
commitdiff
|
tree
2010-01-28
Nick
Bowler
fl
o
ati
n
g: Add exception support to
f
envEval
.
commit
|
commitdiff
|
tree
2010-01-28
Nick
B
o
w
l
er
licens
e
: Fix copyrig
h
t
ye
a
rs in
source files
.
commit
|
commitdiff
|
tree
2010-01-28
Ni
c
k Bow
l
er
floating: Us
e
a strict data constr
u
ctor for FEnv
.
commit
|
commitdiff
|
tree
2010-01-28
Nick Bowler
floating:
Add
i
ni
t
ial s
u
pport for f
l
oating point ex
c
ep
t
ions
.
commit
|
commitdiff
|
tree
2010-01-27
Nick Bo
w
l
e
r
floa
t
ing: Add nearbyint to the Rea
l
Float class
.
commit
|
commitdiff
|
tree
2010-01-27
Nick Bowler
build: Update cabal depend
e
n
c
y infor
m
at
i
on for GHC
.
.
.
commit
|
commitdiff
|
tree
2010-01-27
N
ick Bowler
float:
R
emove
u
se of decodeFlo
a
tInteger
.
commit
|
commitdiff
|
tree
2010-01-27
Nick
B
owler
flo
a
ting
:
U
se ban
g
p
atterns f
o
r
unlifted bindings
.
commit
|
commitdiff
|
tree
2010-01-27
N
i
ck
Bowler
c
f
loat:
remove INCLUDE pragma
s
as
G
HC 6
.
12 hates them
.
commit
|
commitdiff
|
tree
2010-01-27
Ni
c
k Bowler
bu
i
ld: Add m
i
ssi
n
g Da
t
a
.
Floating
.
Float to cabal file
.
commit
|
commitdiff
|
tree
2010-01-27
Nick Bow
l
e
r
f
l
o
a
ting: A
d
d ini
t
ial
s
u
p
port for the
f
loat
i
ng poi
n
t
.
.
.
commit
|
commitdiff
|
tree
2010-01-26
Nick Bowler
build: Add homep
a
ge
.
commit
|
commitdiff
|
tree
2010-01-25
Nick Bowler
cflo
a
t: Generalize doub
l
e_form
a
t to
allow speci
f
ying
.
.
.
commit
|
commitdiff
|
tree
2010-01-25
Nick Bowler
floa
t
:
Add cla
s
s instan
c
es for
F
loa
t
.
commit
|
commitdiff
|
tree
2010-01-25
Nick Bowle
r
cm
a
th: A
d
d bind
i
ng
s
fo
r
float-valued functi
o
ns
.
commit
|
commitdiff
|
tree
2010-01-21
Nick Bowler
al
t
flo
a
t
-0
.
2
commit
|
commitdiff
|
tree
2010-01-21
Nick
B
owler
license: Add m
i
s
s
ing co
p
yright
h
eaders
.
commit
|
commitdiff
|
tree
2010-01-21
Nick Bow
l
er
doc: Add
r
a
t
i
onale
b
e
h
i
n
d
th
e
Roundable class
.
commit
|
commitdiff
|
tree
2010-01-21
Nick Bowler
doc: Fix oops in descrip
t
ion of Ord class
.
commit
|
commitdiff
|
tree
2010-01-20
N
ick Bo
w
ler
pose
t
: Add c
o
mmutativi
t
y note for max a
n
d min
.
commit
|
commitdiff
|
tree
2010-01-20
Ni
c
k B
o
wler
poset: Re
n
ame isSignifica
n
t to isOrdered
.
commit
|
commitdiff
|
tree
2010-01-20
Nick
B
ow
l
er
doc: Move li
b
rary descriptio
n
to a better home
.
commit
|
commitdiff
|
tree
2010-01-19
N
i
ck B
o
wle
r
build: Ha
c
kage-ify t
h
e cabal fi
l
e
.
commit
|
commitdiff
|
tree
2009-12-24
Ni
c
k
B
owler
f
l
oating:
Add
Ro
u
ndable instance
f
or
I
nteg
r
al a =>
.
.
.
commit
|
commitdiff
|
tree
2009-12-24
N
ick B
o
wler
p
o
se
t
: Add
i
nstance f
o
r
Integra
l
a => Ra
t
i
o
a
.
commit
|
commitdiff
|
tree
2009-12-24
Nick
Bowle
r
do
c
: Minor haddock marku
p
fi
x
.
commit
|
commitdiff
|
tree
2009-12-24
Nick Bowler
double: Add an Enum instance
.
commit
|
commitdiff
|
tree
2009-12-24
Nick Bow
l
e
r
floating:
Add a
clas
s
whic
h
s
u
p
p
orts rounding functions
.
commit
|
commitdiff
|
tree
2009-12-24
Nick Bowler
flo
a
ti
n
g: Fix b
r
o
ken isFin
i
te implementat
i
on
.
commit
|
commitdiff
|
tree
2009-11-23
Nick Bowler
floating: Get rid
of
t
he extr
a
Insta
n
ces module
.
commit
|
commitdiff
|
tree
2009-11-23
N
i
ck
Bowl
e
r
poset: Remove
I
ncoher
e
ntIn
s
ta
n
ce
s
and def
i
ne our
o
w
n
.
.
.
commit
|
commitdiff
|
tree
2009-11-21
Nick Bow
l
er
p
os
e
t: Use IncoherentInstances to re
s
ol
v
e
overl
a
ps
.
commit
|
commitdiff
|
tree
2009-11-21
Nick Bowler
floating
:
Upda
t
e
e
x
po
r
t lists
.
commit
|
commitdiff
|
tree
2009-11-21
N
ick
B
o
w
le
r
double: Split out foreign declarat
i
ons
i
n
t
o their own
.
.
.
commit
|
commitdiff
|
tree
2009-11-20
N
i
ck Bowler
d
oc:
U
pdate h
a
ddock comme
n
ts fo
r
D
ata
.
Pos
e
t
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowl
e
r
p
oset: Export the Ord c
l
ass (but not its methods)
.
commit
|
commitdiff
|
tree
2009-11-20
Ni
c
k
B
owler
doc: Elab
o
rate on
why Ord
ins
t
ances for
float
i
ng types
.
.
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bo
w
le
r
floating: Add
fquot
R
e
m
, the
a
nalogue
o
f
C
's remq
u
o
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowler
floating: Ad
d
f
ma function
.
commit
|
commitdiff
|
tree
2009-11-20
Ni
c
k
Bowle
r
double: I
m
p
lement specific compar
i
son functions
.
commit
|
commitdiff
|
tree
2009-11-20
Nick
Bowl
e
r
double: Remove superfluous parenthese
s
.
commit
|
commitdiff
|
tree
2009-11-20
Nick
B
owle
r
b
u
i
ld
:
Update cabal script for
d
istr
i
bution
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowler
misc: Fix FFI pragmas
.
commit
|
commitdiff
|
tree
2009-11-20
Nick
B
o
wler
lice
n
se: Add
c
o
pyright and
licens
e
inform
a
tion
.
commit
|
commitdiff
|
tree
2009-11-20
Ni
c
k Bowler
c
f
lo
a
t: Upd
a
te cfloat
.
h
.
commit
|
commitdiff
|
tree
2009-11-20
Nick
B
owle
r
doc:
A
dd a detailed overview of the pu
r
pose o
f
the
.
.
.
commit
|
commitdiff
|
tree
2009-11-20
N
i
ck B
o
wler
do
c
s
: Update haddock markup a
n
d add a
trivial fun
c
tion
.
commit
|
commitdiff
|
tree
2009-11-20
N
i
ck B
o
wl
e
r
doub
l
e: Add Pose
t
a
n
d S
o
r
tabl
e
i
n
stances
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bo
w
ler
poset: Add a cl
a
ss for partially ordered datatypes
.
commit
|
commitdiff
|
tree
2009-11-20
Nick Bowl
e
r
b
u
ild: Add an autoconf configure
script
to de
t
ermine
.
.
.
commit
|
commitdiff
|
tree
2009-11-19
N
i
ck Bowler
f
l
oatin
g
: Add descr
i
ption of
f
loating cl
a
sses
.
commit
|
commitdiff
|
tree
2009-11-19
N
i
ck Bo
w
ler
floating
:
Add remainder f
u
nct
i
ons
.
commit
|
commitdiff
|
tree
2009-11-19
Nick
B
owler
cfloat: Allow a printf for
m
a
t
sp
e
cifie
r
to be passed
.
.
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowl
e
r
double: implement
fromIn
t
eger using toFloating
.
commit
|
commitdiff
|
tree
2009-11-19
N
ick
B
owler
floating
:
A
llow conv
e
r
sio
n
from any Real to Double
.
.
.
commit
|
commitdiff
|
tree
2009-11-19
Nick B
o
wler
floating: Ex
p
ort the t
o
F
l
o
ating functio
n
from Data
.
.
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
floating:
A
dd error and gamma functions
.
commit
|
commitdiff
|
tree
2009-11-19
Nick
B
o
w
le
r
floating: Add
p
o
wer func
t
ions
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
flo
a
t
i
ng: Add hyperbolic trigonometri
c
functions
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
types: Use operations in GHC
.
Prim for double <=> float
.
.
.
commit
|
commitdiff
|
tree
2009-11-19
N
i
c
k
Bowler
fl
o
ating:
A
d
d classifi
c
a
t
io
n
funct
i
ons
.
commit
|
commitdiff
|
tree
2009-11-19
Nick
B
owler
floating:
Add nextafter
.
commit
|
commitdiff
|
tree
2009-11-19
N
ick Bowler
floating: Add s
o
me of the exponential fun
c
tions
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
floatin
g
: Add trigonometric fu
n
c
t
ions
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
floating: Split Floating int
o
Floating and Rea
l
Float
.
commit
|
commitdiff
|
tree
2009-11-19
Nick Bowler
double: Simplify foreign cal
l
s
.
commit
|
commitdiff
|
tree
2009-11-19
Nic
k
Bowler
floati
n
g
:
Add *
*
operator to Floating class
.
commit
|
commitdiff
|
tree
2009-11-19
N
i
ck
B
owler
Initial comm
i
t
commit
|
commitdiff
|
tree