Logical operators...

From: Hugues CASSE (casse@irit.fr)
Date: Thu Aug 26 1999 - 14:11:23 MET DST


Date: Thu, 26 Aug 1999 14:11:23 +0200
From: Hugues CASSE <casse@irit.fr>
To: CAML <caml-list@inria.fr>
Subject: Logical operators...

Is there a bug or is there a way to get the correct result...

        # 0xffff0000 lsr 16;;
        - : int = 32767
while
        # 0x0000ffff;;
        - : int = 65535

  This was tested on an UltraSparc under Solaris.

                                                Thank you.

-- 
------------------------------------------------------------------------
CASSE Hugues             |Heureux qui,comme Ulysse,a fait un beau voyage
IRIT, 1R1, p14	         |Ou comme celui-la qui conquit la Toison,
                         |Et puis est retourne plein d'usage et raison,
PHONE: (33) 561-556-611  |Vivre entre ses parents le reste de son age !
       (poste 73-20)     |                        Les Regrets, Du Bellay
------------------------------------------------------------------------
mailto:casse@irit.fr                    http://www.irit.fr/~Hugues.Casse



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:24 MET