gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
arubin has joined #ocaml
Modius has quit [Quit: "Object-oriented design" is an oxymoron]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 258 seconds]
ulfdoz_ is now known as ulfdoz
lopex has quit []
khia0 has joined #ocaml
khia0 has left #ocaml []
menace has left #ocaml []
chrissbx has quit [Ping timeout: 264 seconds]
junsuijin has quit [Quit: Leaving.]
NaCl is now known as SpanishInquisitr
chrissbx has joined #ocaml
boscop has joined #ocaml
boscop has quit [Changing host]
boscop has joined #ocaml
Modius has joined #ocaml
dnolen has quit [Quit: dnolen]
seafood has joined #ocaml
seafood has quit [Quit: seafood]
seafood has joined #ocaml
boscop is now known as Boscop
seafood has quit [Quit: seafood]
seafood has joined #ocaml
hcarty has quit [Remote host closed the connection]
BiDOrD_ has quit [Ping timeout: 260 seconds]
BiDOrD has joined #ocaml
avsm has joined #ocaml
avsm has quit [Quit: Leaving.]
seafood has quit [Quit: seafood]
iratsu has joined #ocaml
Modius has quit [Quit: "Object-oriented design" is an oxymoron]
Snark has joined #ocaml
Anarchos has joined #ocaml
Amorphous has quit [Ping timeout: 250 seconds]
Amorphous has joined #ocaml
smerz has joined #ocaml
trch has joined #ocaml
trch has quit [Client Quit]
ChristopheT has joined #ocaml
ygrek has joined #ocaml
lopex has joined #ocaml
Boscop has quit [Quit: meow]
ygrek has quit [Ping timeout: 250 seconds]
ygrek has joined #ocaml
__mattam__ has joined #ocaml
__mattam__ has quit [Quit: Lost terminal]
avsm has joined #ocaml
kelaouchi has joined #ocaml
iratsu has quit [Ping timeout: 250 seconds]
kelaouchi has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
__mattam__ has joined #ocaml
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
avsm has quit [Quit: Leaving.]
ChristopheT has left #ocaml []
Snark has quit [Quit: Quitte]
Ptivalternative has joined #ocaml
Ptival has quit [Disconnected by services]
Ptivalternative is now known as Ptival
dnolen has joined #ocaml
lopex has quit []
avsm has joined #ocaml
SpanishInquisitr is now known as NsCl
NsCl is now known as NaCl
malc_ has joined #ocaml
dnolen has quit [Quit: dnolen]
dnolen has joined #ocaml
ulfdoz has quit [Quit: brb]
dnolen has quit [Client Quit]
dnolen has joined #ocaml
eb4890 has joined #ocaml
dnolen has quit [Quit: dnolen]
arubin has quit [Quit: arubin]
avsm has quit [Quit: Leaving.]
ygrek has quit [Ping timeout: 250 seconds]
peddie has quit [Read error: Connection reset by peer]
peddie has joined #ocaml
Pepe_ has quit [Ping timeout: 276 seconds]
Pepe_ has joined #ocaml
ygrek has joined #ocaml
Modius has joined #ocaml
qdl has joined #ocaml
<qdl> Hello.
<qdl> I need to round float numbers. Are there any functions besides "ceil" and "floor"?
<thelema> qdl: you can build rounding from those functions
<qdl> I can. But I won't, if I don't need to.
<thelema> mathlib has a round() function that rounds to the nearest int
<qdl> Is there something like "round to given number of digits"?
<thelema> let round shift x = floor (x *. shift + 0.5) /. shift
<qdl> What does "If these functions aren't provided by a system's libc, they raise Failure."?
<thelema> shift=1 means round to nearest 1, shift=100 means round to nearest 1/100
<thelema> qdl: these functions are implemented by calling the C library - if the C library doesn't have the given function, the functions will still exist, they'll just fail when you call them
<thelema> they'll raise an exception
Smerdyakov has joined #ocaml
<qdl> Very useful.
<qdl> How can I know which functions are available in which C library?
<thelema> it keeps a consistent interface for compilation.
<qdl> ?
<thelema> if you're running linux, all the functions are available. If you're running some arm platform with a minimal libc, you might be missing something
<thelema> As part of the build process for that library, it detects which functions you have.
<qdl> And tells me what, if one is missing?
<thelema> checking for round... yes
<thelema> if it's missing, it'll say "no"
<qdl> OK.
<qdl> Thanks a lot.
<thelema> no problem
avsm has joined #ocaml
zorun has quit [Ping timeout: 252 seconds]
Associat0r has joined #ocaml
junsuijin has joined #ocaml
<bobry> hello, can somebody help me with plugging bitstring into oasis? adding a `bitstring.syntax` dependency doesn't help
avsm has quit [Quit: Leaving.]
<thelema> bobry: try putting syntax_camlp4o into your _tags file
<bobry> thelema: thanks, it helped :)
avsm has joined #ocaml
malc_ has quit [Quit: leaving]
ankit9 has quit [Ping timeout: 250 seconds]
ankit9 has joined #ocaml
slash_ has joined #ocaml
Ptival has quit [Quit: Quat]
eb4890 has quit [Ping timeout: 260 seconds]
lopex has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
dnolen has joined #ocaml
Ptival has joined #ocaml
dnolen has quit [Quit: dnolen]
Ptival has quit [Quit: Quat]
Ptival has joined #ocaml
Ptival has quit [Quit: Quat]
slash_ has quit [Quit: Lost terminal]
ygrek has quit [Quit: Leaving]
avsm has quit [Quit: Leaving.]
Anarchos has quit [Ping timeout: 240 seconds]
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
avsm has joined #ocaml
ulfdoz has joined #ocaml
Ptival has joined #ocaml
smerz has quit [Quit: Ex-Chat]
Ptival has quit [Quit: Quat]
lopexx has joined #ocaml
lopex has quit [Ping timeout: 258 seconds]
lopexx has quit [Client Quit]
lopex has joined #ocaml
ulfdoz has quit [Ping timeout: 252 seconds]
iratsu has joined #ocaml
raphael-p has quit [Quit: leaving]
raphael-p has joined #ocaml
ulfdoz has joined #ocaml
Ptival has joined #ocaml
iratsu has quit [Ping timeout: 250 seconds]
ulfdoz has quit [Ping timeout: 252 seconds]
arubin has joined #ocaml
iratsu has joined #ocaml
sysop_fb has joined #ocaml
sysop_fb has left #ocaml []
Sysop_fb has joined #ocaml
Ptivalternative has joined #ocaml
qdl_ has joined #ocaml
Ptival has quit [Ping timeout: 240 seconds]
qdl has quit [Ping timeout: 246 seconds]
qdl_ is now known as qdl
Associat0r has quit [Quit: Associat0r]
lopex has quit []