Greetings, Trying to perform some bit manipulations with Oz. My understanding is that this task would be performed using the 'BitArray' type [or 'BitString' if value is to be immutable]. Queries:
* 'BitArray' doesn't appear to have either bit shift or bit rotate operations, so such things would need to be manually coded in Oz. Wouldn't it be helpful for these to be included as built-in operations, so would be far more efficient ? * Using native Oz facilities [no linking to external C routines etc], how would I go about converting an integer to a bit representation ? The reason I ask is that there doesn't seem to be a 'IntToBitArray' or 'IntToBitString' [or their counterpart] routines available Any help appreciated. Cheers, Anthony Borla _________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
