No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Integer computation extended beyond 32-bit

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 2.07 KB File ID: #19848 Version: 1.0

Integer computation extended beyond 32-bit


Steven Huang (view profile)


07 May 2008 (Updated )

compute integer arithmatic beyond 32-bit, Matlab's limit

| Watch this File

File Information

% 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.

MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us