W3C home > Mailing lists > Public > public-expath@w3.org > August 2013

EXPath binary module - comments - bin:shift()

From: John Lumley <john@saxonica.com>
Date: Mon, 05 Aug 2013 12:04:22 +0100
Message-ID: <51FF86B6.8040603@saxonica.com>
To: EXPath <public-expath@w3.org>
CC: Christian Grün <christian.gruen@gmail.com>
On 02/08/2013 23:53, Christian Grün wrote:
> – what about adding bin:unsigned-shift (which would be equivalent to
> the >>> operator)?
The semantics of the bin:shift($in as xs:base64Binary, $by as 
xs:integer) function, with a negative $by are unsigned - the shift 
currently proposed is purely logical (and equivalent to >>> - hint - a 
certain experimental implementation uses '>>>' ;-) ). Are you advocating 
a requirement for something equivalent to '>>' ?

-- 
*John Lumley* MA PhD CEng FIEE
john@saxonica.com <mailto:john@saxonica.com>
on behalf of Saxonica Ltd
Received on Monday, 5 August 2013 11:04:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:20 UTC