Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!g23g2000yqh.googlegroups.com!not-for-mail
From: ustunozgur <ustunozgur@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: 100^100 != 100^100
Date: Sat, 31 Oct 2009 05:05:16 -0700 (PDT)
Organization: http://groups.google.com
Lines: 18
Message-ID: <7e2e0d2d-b779-4137-92f5-8b4b2807764f@g23g2000yqh.googlegroups.com>
NNTP-Posting-Host: 139.179.138.63
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1256990716 12459 127.0.0.1 (31 Oct 2009 12:05:16 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 31 Oct 2009 12:05:16 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: g23g2000yqh.googlegroups.com; posting-host=139.179.138.63; 
	posting-account=0mxzaAoAAAB4O6AV90jMUBQlTnyvXkMc
User-Agent: G2/1.0
X-HTTP-UserAgent: Opera/9.80 (Windows NT 5.1; U; tr) Presto/2.2.15 
	Version/10.00,gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:581477


 a = 100^100; str2num(num2str(a)) == a

results in 1

but

num2str(a) =
99999999999999996973312221251036165947450327545502362648241750950346848435554075
53419633840470625186802751241597388240818213573436827848463938504104723987787102
3591066789981811181813306167128854888448


Howcome? What is the best way to deal with such large numbers in
MATLAB? How can I see the number without num2str function?

Best regards,

Ustun