intmax in 64 bits
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi all, Why the answer is not 9223372036854775807 ?
< M A T L A B (R) >
Copyright 1984-2016 The MathWorks, Inc.
R2016a (9.0.0.341360) 64-bit (glnxa64)
February 11, 2016
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
Academic License
>> intmax
ans =
2147483647
댓글 수: 2
Steven Lord
2017년 6월 30일
I understand why you're confused. Whether MATLAB is a 32-bit or a 64-bit application does not change what intmax returns. You can ask for intmax of any of the eight integer types regardless of whether you're running a 32-bit version of MATLAB or a 64-bit version of MATLAB. As Stephen and Guillaume have said, intmax is equivalent to intmax('int32').
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Switches and Breakers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!