Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Jan Burse Newsgroups: comp.lang.java.programmer Subject: Re: higher precision doubles Date: Sun, 11 Sep 2011 14:09:24 +0200 Organization: albasani.net Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net WJzVcDYXaphsK2PjNfE5Va4E4mFcAQZ4VmjNxNcYXMNFYO3K9XxygLkjUDLyEejBYkt7FBbCIcu8D4xprG7QDg== NNTP-Posting-Date: Sun, 11 Sep 2011 12:09:25 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="XZzDXvNQjx+ZZcFdg0/FWNIwAvZbNSqJ/X/aDMxgRXEHU65T+HBsw+QaDJixRfPmKb5/dwuE3qoBLUDJiZQQGhhEqYBa+SdUfowUBLohVqfU+HeZGMRNXUA1BtpO5jVK"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Firefox/6.0.2 SeaMonkey/2.3.3 In-Reply-To: Cancel-Lock: sha1:uI6p1NjasNKY80G64aV3jCvef6c= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7792 Jan Burse schrieb: > There is a max extra precision, which is needed in the > evaluation function N[.,.]. BigDecimal does not know about > evaluation functions. But the MathContext parameter in add(), mul(), etc.. of BigDecimal is very similar to N[.,.] for these operations. But a library for sin(), exp(), ... with a MathContext parameter would be nice. Bye