English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

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: 2010-03-23 (09:07)
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