a = uint64(2^64)
a = uint64 18446744073709551615
b = uint64(2^64-1000)
b = uint64 18446744073709551615
a==b
ans = logical
1

댓글 수: 1

A clue while I'm passing through:
eps(double(intmax('uint64')))
ans = 4096

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
Walter Roberson 2012년 6월 11일

0 개 추천

Please see http://www.mathworks.com/matlabcentral/answers/39474-scalar-multiplication and expand the comments in the answer there to see a discussion.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

질문:

2012년 6월 11일

댓글:

DGM
2024년 5월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by