]> www.ginac.de Git - ginac.git/blobdiff - ginac/ex.h
move rotate_left() function away from the public header.
[ginac.git] / ginac / ex.h
index 774b8600a2407accaf5b3788f6fbfa0732b34713..336bb14f1c1c51640988515e3c7a647d90b9ffdf 100644 (file)
@@ -52,13 +52,6 @@ private:
 /** For construction of flyweights, etc. */
 static library_init library_initializer;
 
-/** Rotate bits of unsigned value by one bit to the left.
-  * This can be necesary if the user wants to define its own hashes. */
-inline unsigned rotate_left(unsigned n)
-{
-       return (n & 0x80000000U) ? (n << 1 | 0x00000001U) : (n << 1);
-}
-
 class scalar_products;
 class const_iterator;
 class const_preorder_iterator;