Re: Setting precision in binary digits?
- To: mathgroup at smc.vnet.net
- Subject: [mg8999] Re: [mg8947] Setting precision in binary digits?
- From: David Withoff <withoff>
- Date: Tue, 7 Oct 1997 03:35:46 -0400
- Sender: owner-wri-mathgroup at wolfram.com
> Hello, > > I would like to specify the precision of my numbers in binary digits > rather than decimal digits. Is there any way of doing this? > > Many thanks, > Fergal. > > -- > ==================================================================== > Fergal Shevlin Phone: +353-1-6081209 Fax: 6772204 > Dept. of Computer Science http://www.cs.tcd.ie/ > Trinity College, Dublin 2, Ireland. Fergal.Shevlin at cs.tcd.ie If you enter the digits in binary notation, then you can enter the number of binary digits of precision using notation such as In:= 2^^1101101.11101011100010101001011010110101111`17.3 Out= 109.92 which constructs a number with 17.3 binary digits of precision. You could also do calculations like In:= N[Pi, 63.1 Log[10, 2]] Out= 3.14159265358979324 which computes Pi to a precision of 63.1 binary digits (about 19 decimal digits). Dave Withoff Wolfram Research