00:00
arubin has joined #ocaml
00:26
Modius has quit [Quit: "Object-oriented design" is an oxymoron]
00:31
ulfdoz_ has joined #ocaml
00:35
ulfdoz has quit [Ping timeout: 258 seconds]
00:35
ulfdoz_ is now known as ulfdoz
00:44
khia0 has joined #ocaml
00:44
khia0 has left #ocaml []
01:49
menace has left #ocaml []
02:23
chrissbx has quit [Ping timeout: 264 seconds]
02:29
junsuijin has quit [Quit: Leaving.]
02:32
NaCl is now known as SpanishInquisitr
02:43
chrissbx has joined #ocaml
02:59
boscop has joined #ocaml
03:04
boscop has quit [Changing host]
03:04
boscop has joined #ocaml
05:11
Modius has joined #ocaml
05:12
dnolen has quit [Quit: dnolen]
05:19
seafood has joined #ocaml
05:27
seafood has quit [Quit: seafood]
05:28
seafood has joined #ocaml
05:59
boscop is now known as Boscop
06:09
seafood has quit [Quit: seafood]
06:20
seafood has joined #ocaml
06:42
hcarty has quit [Remote host closed the connection]
06:48
BiDOrD_ has quit [Ping timeout: 260 seconds]
06:48
BiDOrD has joined #ocaml
07:02
avsm has joined #ocaml
07:59
avsm has quit [Quit: Leaving.]
08:05
seafood has quit [Quit: seafood]
08:16
iratsu has joined #ocaml
08:31
Modius has quit [Quit: "Object-oriented design" is an oxymoron]
08:53
Snark has joined #ocaml
09:10
Anarchos has joined #ocaml
09:15
Amorphous has quit [Ping timeout: 250 seconds]
09:31
Amorphous has joined #ocaml
09:32
smerz has joined #ocaml
09:36
trch has joined #ocaml
09:36
trch has quit [Client Quit]
09:37
ChristopheT has joined #ocaml
09:42
ygrek has joined #ocaml
09:49
lopex has joined #ocaml
09:53
Boscop has quit [Quit: meow]
10:14
ygrek has quit [Ping timeout: 250 seconds]
10:26
ygrek has joined #ocaml
10:30
__mattam__ has joined #ocaml
10:53
__mattam__ has quit [Quit: Lost terminal]
10:56
avsm has joined #ocaml
11:03
kelaouchi has joined #ocaml
11:15
iratsu has quit [Ping timeout: 250 seconds]
11:16
__mattam__ has joined #ocaml
11:33
ygrek has quit [Remote host closed the connection]
11:35
ygrek has joined #ocaml
11:43
avsm has quit [Quit: Leaving.]
11:46
ChristopheT has left #ocaml []
11:48
Snark has quit [Quit: Quitte]
11:54
Ptivalternative has joined #ocaml
11:54
Ptival has quit [Disconnected by services]
11:54
Ptivalternative is now known as Ptival
12:08
dnolen has joined #ocaml
12:37
avsm has joined #ocaml
13:11
SpanishInquisitr is now known as NsCl
13:11
NsCl is now known as NaCl
13:27
malc_ has joined #ocaml
13:31
dnolen has quit [Quit: dnolen]
13:37
dnolen has joined #ocaml
13:38
ulfdoz has quit [Quit: brb]
13:38
dnolen has quit [Client Quit]
14:08
dnolen has joined #ocaml
14:20
eb4890 has joined #ocaml
14:30
dnolen has quit [Quit: dnolen]
14:44
arubin has quit [Quit: arubin]
15:09
avsm has quit [Quit: Leaving.]
15:16
ygrek has quit [Ping timeout: 250 seconds]
15:16
peddie has quit [Read error: Connection reset by peer]
15:16
peddie has joined #ocaml
15:16
Pepe_ has quit [Ping timeout: 276 seconds]
15:16
Pepe_ has joined #ocaml
15:19
ygrek has joined #ocaml
15:20
Modius has joined #ocaml
15:26
qdl has joined #ocaml
15:27
<
qdl >
I need to round float numbers. Are there any functions besides "ceil" and "floor"?
15:28
<
thelema >
qdl: you can build rounding from those functions
15:29
<
qdl >
I can. But I won't, if I don't need to.
15:29
<
thelema >
mathlib has a round() function that rounds to the nearest int
15:29
<
qdl >
Is there something like "round to given number of digits"?
15:31
<
thelema >
let round shift x = floor (x *. shift + 0.5) /. shift
15:31
<
qdl >
What does "If these functions aren't provided by a system's libc, they raise Failure."?
15:31
<
thelema >
shift=1 means round to nearest 1, shift=100 means round to nearest 1/100
15:32
<
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
15:32
<
thelema >
they'll raise an exception
15:32
Smerdyakov has joined #ocaml
15:33
<
qdl >
How can I know which functions are available in which C library?
15:34
<
thelema >
it keeps a consistent interface for compilation.
15:34
<
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
15:34
<
thelema >
As part of the build process for that library, it detects which functions you have.
15:35
<
qdl >
And tells me what, if one is missing?
15:36
<
thelema >
checking for round... yes
15:36
<
thelema >
if it's missing, it'll say "no"
15:37
<
qdl >
Thanks a lot.
15:37
<
thelema >
no problem
15:42
avsm has joined #ocaml
15:54
zorun has quit [Ping timeout: 252 seconds]
16:05
Associat0r has joined #ocaml
16:45
junsuijin has joined #ocaml
16:51
<
bobry >
hello, can somebody help me with plugging bitstring into oasis? adding a `bitstring.syntax` dependency doesn't help
16:59
avsm has quit [Quit: Leaving.]
17:02
<
thelema >
bobry: try putting syntax_camlp4o into your _tags file
17:06
<
bobry >
thelema: thanks, it helped :)
17:41
avsm has joined #ocaml
17:51
malc_ has quit [Quit: leaving]
17:54
ankit9 has quit [Ping timeout: 250 seconds]
17:55
ankit9 has joined #ocaml
18:18
slash_ has joined #ocaml
18:37
Ptival has quit [Quit: Quat]
18:57
eb4890 has quit [Ping timeout: 260 seconds]
19:08
lopex has joined #ocaml
19:09
Smerdyakov has quit [Quit: Leaving]
19:15
avsm has quit [Quit: Leaving.]
19:29
avsm has joined #ocaml
19:33
dnolen has joined #ocaml
19:59
Ptival has joined #ocaml
20:07
dnolen has quit [Quit: dnolen]
20:11
Ptival has quit [Quit: Quat]
20:40
Ptival has joined #ocaml
20:52
Ptival has quit [Quit: Quat]
20:58
slash_ has quit [Quit: Lost terminal]
20:59
ygrek has quit [Quit: Leaving]
21:01
avsm has quit [Quit: Leaving.]
21:17
Anarchos has quit [Ping timeout: 240 seconds]
21:19
Anarchos has joined #ocaml
21:23
Anarchos has quit [Client Quit]
21:49
avsm has joined #ocaml
21:51
ulfdoz has joined #ocaml
21:56
Ptival has joined #ocaml
21:59
smerz has quit [Quit: Ex-Chat]
22:08
Ptival has quit [Quit: Quat]
22:09
lopexx has joined #ocaml
22:10
lopex has quit [Ping timeout: 258 seconds]
22:12
lopexx has quit [Client Quit]
22:12
lopex has joined #ocaml
22:14
ulfdoz has quit [Ping timeout: 252 seconds]
22:30
iratsu has joined #ocaml
22:31
raphael-p has quit [Quit: leaving]
22:34
raphael-p has joined #ocaml
22:35
ulfdoz has joined #ocaml
23:02
Ptival has joined #ocaml
23:08
iratsu has quit [Ping timeout: 250 seconds]
23:23
ulfdoz has quit [Ping timeout: 252 seconds]
23:23
arubin has joined #ocaml
23:31
iratsu has joined #ocaml
23:38
sysop_fb has joined #ocaml
23:38
sysop_fb has left #ocaml []
23:41
Sysop_fb has joined #ocaml
23:50
Ptivalternative has joined #ocaml
23:52
qdl_ has joined #ocaml
23:53
Ptival has quit [Ping timeout: 240 seconds]
23:54
qdl has quit [Ping timeout: 246 seconds]
23:54
qdl_ is now known as qdl
23:56
Associat0r has quit [Quit: Associat0r]