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
8 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 (2026). Integer computation extended beyond 32-bit (https://uk.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 LinuxCategories
Find more on Numeric Types in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
