Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: exceeding realmax or realmin values
Date: Fri, 26 Nov 2010 15:05:04 +0000 (UTC)
Organization: Technische Universiteit Delft
Lines: 5
Message-ID: <icoib0$jvp$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1290783904 20473 172.30.248.37 (26 Nov 2010 15:05:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 26 Nov 2010 15:05:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1987877
Xref: news.mathworks.com comp.soft-sys.matlab:690235

Hi,

Is it in any way possible to temporarily exceed the realmax or realmin value during calculations? For example if I want to find the value for A=Log(exp(1000)). Exp(1000) exceeds the realmax value, so it is infinite. This makes a also infinte. Is there a way to get the correct value for A, in this case 1000?

Thanks