quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_math_scalar.a #include <Long.h> Long(long arg = DEF_VALUE); Long(const Long& arg);
description:Long val0; val0 = 10; Long val1(5); Long val2; val2 = val0.exp10(2) + val1.factorial();
static const String CLASS_NAME = L"Long";
static const long ERR = 20800;
static MemoryManager mgr_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
setDebug is inherited from the MScalar template class
boolean debug(const unichar* message) const;
~Long();
Long(long arg = DEF_VALUE);
Long(const Long& arg);
assign methods are inherited from the MScalar template class
Long& operator= (const Long& arg);
boolean read(Sof& sof, long tag, const String& name = CLASS_NAME);
boolean write(Sof& sof, long tag, const String& name = CLASS_NAME) const;
sofSize, readData and writeData are inherited from the MScalar template class
equality methods are inherited from the MScalar template class
static void* operator new(size_t size);
static void* operator new[](size_t size);
static void operator delete(void* ptr);
static void operator delete[](void* ptr);
static boolean setGrowSize(long grow_size);
clear is inherited from the MScalar template class
Long& operator= (long arg);
long acos(long);
long acosh(long);
long asin(long);
long asinh(long);
long atan(long);
long atanh(long);
long cos(long);
long cosh(long);
long sin(long);
long sinh(long);
long tan(long);
long tanh(long);
long ceil(long);
long rceil(long);
long rfloor(long);
long round(long);
long floor(long);
long fraction(long);
Long val0(5); String tmp_filename(L"foo"); Sof tmp_file; tmp_file.open(tmp_filename, File::WRITE_ONLY, File::TEXT); val0.write(tmp_file, (long)0); tmp_file.close();
Long value; Long value1; Long value2; long coef1 = 7; long coef2 = 3; long min = 0; long max = 255; value1 = 4; value2 = 5; value = value1.exp(2)*coef1 + value2.exp(3)*coef2; value.limit(min, max);