Browse thread
Logical operators...
- Hugues CASSE
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Hugues CASSE <casse@i...> |
| 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