image thumbnail

Integer computation extended beyond 32-bit

version 1.0.0.0 (1.01 KB) by Steven Huang
compute integer arithmatic beyond 32-bit, Matlab's limit

1.3K Downloads

Updated 08 May 2008

No License

% extending integer precision beyond 32-bit. Maximum integer value in
% Matlab is 'intmax = 2147483647'. This is a 'int' type in C. So if using
% 'intmax', double() must be used to convert it to double type in order to
% perform further computation. Others are by default double so no need of
% conversion.
% Reference: C Interfaces and Implmentations, David Hanson.

Cite As

Steven Huang (2022). Integer computation extended beyond 32-bit (https://www.mathworks.com/matlabcentral/fileexchange/19848-integer-computation-extended-beyond-32-bit), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!