INT64 arithmetic in MATLAB

Enables int64 Addition, subtraction, multiplication, division and modulus.

Ahora está siguiendo esta publicación

This submission enables the following operations for the int64 and uint64 data types:
* Addition
* Subtraction
* Multiplication (element-wise and matrix)
* Division (element-wise only)
* mod, abs, bitshift

See the published file for more details.

Citar como

Petter (2026). INT64 arithmetic in MATLAB (https://la.mathworks.com/matlabcentral/fileexchange/24725-int64-arithmetic-in-matlab), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Operators and Elementary Operations en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.13.0.0

Removed the compiled *.mexw32 and *.mexw64

1.12.0.0

Added colon operator for 1:n constructs

1.11.0.0

Updating according to comments by Jan Simon. Thanks!
Nothing changes for the user except the behaviour of mod(i,0)

1.10.0.0

Added matrix multiplication (not fast compared to double)

1.8.0.0

*Added support for the uint64 datatype as well
*No longer accepts A*B is A and B are matrices
*Added binaries for Windows 64-bit

1.6.0.0

Description update

1.2.0.0

Added support for the bitshift function

1.1.0.0

Update according to suggestions from Bruno Luong: Out out memory check and requiring that the dimensions of the arrays matches exactly (not just number of elements).

1.0.0.0