Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: bitwise not
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xleroy@p...>
Subject: Re: bitwise not
Well, the bitwise not seems to have been left out of the library, but
it's a one-liner:

let lnot x = x lxor (-1);;

- Xavier