qbitshft.c File Reference

#include "f2c.h"

Include dependency graph for qbitshft.c:

Go to the source code of this file.

Functions

longint qbit_shift (longint a, integer b)


Function Documentation

longint qbit_shift ( longint  a,
integer  b 
)

Definition at line 10 of file qbitshft.c.

00012 {
00013         return b >= 0 ? a << b : (longint)((ulongint)a >> -b);
00014         }


Generated on Sun Mar 4 15:05:19 2007 for Scilab [trunk] by  doxygen 1.5.1