Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
ipa_lno_util.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

INT32 Gcd (mINT32, mINT32)
INT64 Gcd (mINT64, mINT64)
INT32 Gcd (const mINT32 *, INT)
INT64 Gcd (const mINT64 *, INT)
INT32 Lcm (mINT32, mINT32)
INT64 Lcm (mINT64, mINT64)
INT32 Lcm (const mINT32 *, INT)
INT64 Lcm (const mINT64 *, INT)

Function Documentation

INT32 Gcd ( mINT32  ,
mINT32   
)

Exported types and functions:

INT32 Gcd(mINT32, mINT32) INT64 Gcd(mINT64, mINT64) INT32 Lcm(mINT32, mINT32) INT64 Lcm(mINT64, mINT64)

Find the gcd and lcm of pairs. May be positive, negative or zero. gcd(0,x) = x. lcm(0,x) = 0.

INT32 Gcd(const mINT32* vector, INT count) INT64 Gcd(const mINT64* vector, INT count) INT32 Lcm(const mINT32* vector, INT count) INT64 Lcm(const mINT64* vector, INT count)

Find the gcd and lcm of vectors of integers. Count must be at least one. The vectors may contain 0, positive or negatives.

Referenced by PROJECTED_REGION::May_Union().

INT64 Gcd ( mINT64  ,
mINT64   
)
INT32 Gcd ( const mINT32 ,
INT   
)
INT64 Gcd ( const mINT64 ,
INT   
)
INT32 Lcm ( mINT32  ,
mINT32   
)
INT64 Lcm ( mINT64  ,
mINT64   
)
INT32 Lcm ( const mINT32 ,
INT   
)
INT64 Lcm ( const mINT64 ,
INT   
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines