Table Of Contents

int64

Version:
    Last Modified: March 15, 2017

    Converts the input elements to 64-bit signed integers.

    Syntax

    c = int64(a)

    Inputs

    a

    Scalar or array of any dimension of real numbers or of Booleans.

    Outputs

    c

    Elements of a as 64-bit signed integers. c is a scalar or an array of the same size as a. If a is a complex number, this function converts the real and imaginary parts of the number separately and then returns a complex number that consists of those parts.

    Special Cases

    If an element in a is greater than 2^63-1, the corresponding element in c is 2^63-1. If an element in a is less than -2^63, the corresponding element in c is -2^63.

    A = [23456.333, 123456.4, -8383838]
    C = int64(A)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics