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

1 件のコメント

DGM
DGM 2024 年 5 月 25 日
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 件)

カテゴリ

製品

質問済み:

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