Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!r37g2000prr.googlegroups.com!not-for-mail
From: aralimaradsir@gmail.com
Newsgroups: comp.soft-sys.matlab
Subject: regarding increasing precision value
Date: Mon, 26 Jan 2009 21:20:10 -0800 (PST)
Organization: http://groups.google.com
Lines: 20
Message-ID: <18642ed7-fb80-4875-a7db-a79a15a12c4a@r37g2000prr.googlegroups.com>
NNTP-Posting-Host: 210.212.197.162
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1233033611 22695 127.0.0.1 (27 Jan 2009 05:20:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 27 Jan 2009 05:20:11 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r37g2000prr.googlegroups.com; posting-host=210.212.197.162; 
	posting-account=n5XdswoAAABwvo0dMWxBsOKUpPSvJHxg
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 
	5.1),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:514146


Hello friends, i have written a program below which can generate 64
bit double precision hex value but i require a value of more than 128
bits can anyone of you help me in this matter thank you
clc;
clear all;
format long

N=1000;
x=[.197];
Y=0;
y1=0;
for n=1:1:N
   Y=4.*x.*(1-x);
   y1=y1+Y;
   x=y1;
   y1=0;

  end
disp (Y)
key=num2hex(Y)