On Fri, May 4, 2012 at 10:26 AM, katja <[email protected]> wrote: > On Fri, May 4, 2012 at 5:14 AM, Hans-Christoph Steiner <[email protected]> wrote: > >> Does it does type-punning? Does compilation give warnings about that? >> That's my guess. > > > [blosc~] does type punning indeed, it uses type unsigned long in phase > conversion, blosc~.cc line 86/87. But there is no literal bitmask > defined, only a scaling. Not sure if this type punning gives a > problem.
Wait, it uses unsigned long long and unsigned long as distinguished data types for some tricks. But these types could be both 64 bit on a 64 bit system, no? Would it not be better to use types from stdint.h (or cstdint.h in this case)? Katja _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
