Version française
Home     About     Download     Resources     Contact us    
Browse thread
testers wanted for experimental SSE2 back-end
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] testers wanted for experimental SSE2 back-end
> let round x = truncate (x +. 0.5)

Side note, if you are also interested in negative numbers that's not
what you want. You want :

> let round x = floor (x +. 0.5)

Best,

Daniel