smimou has quit ["?"]
MisterC has joined #ocaml
Skal has quit [Read error: 110 (Connection timed out)]
Smerdyakov has joined #ocaml
Smerdyakov has quit []
ulfdoz has joined #ocaml
ulfdoz_ has quit [Read error: 110 (Connection timed out)]
vezenchio has joined #ocaml
Herrchen_ has joined #ocaml
Herrchen has quit [Read error: 110 (Connection timed out)]
Smerdyakov has joined #ocaml
mfurr has joined #ocaml
<
shrimpx>
Smerdyakov: hi
<
Smerdyakov>
Mrphl.
Smerdyakov has quit []
_fab has joined #ocaml
{[mono]} has quit ["good morning, sweet dream"]
Submarine has quit [Remote closed the connection]
__DL__ has quit ["Bye Bye"]
__DL__ has joined #ocaml
Snark has joined #ocaml
Herrchen_ is now known as Herrchen
_shawn has quit [Read error: 110 (Connection timed out)]
_shawn has joined #ocaml
mlh_ has quit [Client Quit]
smimou has joined #ocaml
faigo has joined #ocaml
<
faigo>
hi, can somebody enable high-light on emacs? I am using xemacs has no problem but emacs.
<
Snark>
I'm using emacs and I have syntax coloration
batdog is now known as batdog|gone
faigo has quit [Read error: 110 (Connection timed out)]
cmeme has joined #ocaml
cmeme has quit [Remote closed the connection]
cmeme has joined #ocaml
pango__ has joined #ocaml
pango_ has quit [Read error: 110 (Connection timed out)]
glorb has joined #ocaml
batdog|gone is now known as batdog
<
glorb>
hello everybody
<
glorb>
anyone has a smart idea on how to represent a directed graph with edge and vertex labels, which allows self-edges and easy traversal?
glorb has quit ["Leaving"]
{[mono]} has joined #ocaml
vezenchio has quit ["\o/ in mochintin namocniuh \o/"]
TeXitoi has quit [Read error: 104 (Connection reset by peer)]
TeXitoi has joined #ocaml
Snark has left #ocaml []
Purice has joined #ocaml
faigo has joined #ocaml
<
faigo>
float_of_string "0b11";;Exception: Failure "float_of_string".
<
faigo>
is that a bug?
<
{[mono]}>
looks like correct behaviour.
<
faigo>
0b11-> int 3 is right, but why float_of_string do not work?
<
faigo>
I also try 32 bit binary string code and it still don't work.
<
faigo>
am I some thing wrong?
<
{[mono]}>
int_of_string and float_of_string are independent. you shouldn't use the behaviour of one to deduce that of the other.
<
{[mono]}>
s/independent/unrelated/
<
{[mono]}>
I can't find something in the doc promising that float_of_string must honour things like "0b11". Can you?
<
faigo>
yes int_of_string works on "0b11", but not float_of_string.
<
faigo>
I found it on the internet:Ocaml Tutorial.
<
faigo>
thanks your answer, {|mono|}
Purice has quit ["Leaving"]
snafu` has joined #ocaml
<
faigo>
hi,is there binary to float function in Ocaml?
<
faigo>
i search google web&group but no solution.
<
{[mono]}>
float_of_int (int_of_string "0b11")
<
faigo>
Thanks, but it doesn't support "0b11.01".
mlh_ has joined #ocaml
snafu` has quit ["n8"]
mauke has quit [Remote closed the connection]
mauke has joined #ocaml
Number17 has joined #ocaml