INT64 arithmetic in MATLAB

Enables int64 Addition, subtraction, multiplication, division and modulus.
2,8K Descargas
Actualizado 5 nov 2010

Ver licencia

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 (2024). INT64 arithmetic in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/24725-int64-arithmetic-in-matlab), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2007a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Operators and Elementary Operations en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

int64arithmetic/html/

Versión Publicado Notas de la versión
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