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

Integer computation extended beyond 32-bit

by Steven Huang

 

07 May 2008 (Updated 08 May 2008)

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

| Watch this File

File Information
Description

% 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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
integer Steven Huang 22 Oct 2008 10:00:19
computation Steven Huang 22 Oct 2008 10:00:19
extend Steven Huang 22 Oct 2008 10:00:19
extended Steven Huang 22 Oct 2008 10:00:19
32 bit Steven Huang 22 Oct 2008 10:00:19
utilities Steven Huang 22 Oct 2008 10:00:19

Contact us at files@mathworks.com