INT64

From Jacket Wiki

Jump to: navigation, search
Back to Function List

Convert to signed integer

Usage

Jacket for M Language
    Supported Syntax
    
I = int64(X)
    

GFOR Supported

Yes

GCOMPILE Supported

Yes

Types Supported

-  GDOUBLE   GSINGLE   GLOGICAL   GINT32   GINT8   GUINT32   GUINT8   COMPLEX 

Types Not Supported

-

CPU usageJacket only contains GPU computing functions. To run functions on the CPU, try one of the MathWorks products:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/int64.html

Notes

One bottleneck in achieving reasonable amounts of speedup is memory transfer. If you wish to optimize your code and achieve speed-ups, try to reduce the amount of casts to CPU types especially on large variables, as each such operation can incur a costly memory transfer operation which would slow down your code.

  • Converts to INT64 from Jacket specific types
  • Output range -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

See Also

DOUBLE, SINGLE, INT8, INT16, INT32, INTMAX, INTMIN, UINT8, UINT16, UINT32, UINT64

Views
Personal tools