On Wed, 20 May 2015, Vassily Litvinov wrote: > We have numBits(type t) and numBytes(type t) that are defined on certain > primitive types. We do not provide this functionality for the other types, I > believe. See the online library documentation: > > http://chapel.cray.com/docs/latest/modules/standard/Types.html
Thanks for jogging my brain. I remember those now. They were just above the min() and max() functions which I am using. Senior's moment! > P.S. The thing that ".type" expression produces is a Chapel type. Chapel > types, like 'param' variables/expressions, can be manipulated at compile > time. The Types modules has a few functions on expressions besides what I > mention above. I have read those. Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037 Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here Views & opinions here are mine and not those of any past or present employer ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Chapel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-users
