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, 07 Aug 2011 17:39:12 +0200 Organization: albasani.net Lines: 13 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 mEQ253M+bgj/8STaYJ0ak4xZ4NETdwXeQwT3C7StzVHgInTbW+789Qx0t48rLOfIlLnzcLwhxHkjqOvQnc/qXQ== NNTP-Posting-Date: Sun, 7 Aug 2011 15:39:13 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="mFJMQhK+ryjUGQIqkLaRkYZq4/dceEQwPnuXJRSEt2ZrNkYbQwbcK3jBHb7VWM8mJhzJkdb8/OealxU/GscSpVgWkcmCn98Xaqd9QH0TuiO5djmzPaUgVwqvgWw8XDvK"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110706 Firefox/5.0 SeaMonkey/2.2 In-Reply-To: Cancel-Lock: sha1:3q76BAKU5uz3lQlM5nyacrHCt3Q= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6852 Jan Burse schrieb: > Patricia Shanahan schrieb: > > I gave Math.sin(2*Math.PI) only as an example of what I > eventually want to do with the higer precision floats. > But since I do not have the higher precision floats, I > showed how the myHighPrecPackage.sin(2*myHighPrecPackage.PI) > would work with normal precision. Well I probably would need another test case for whether strictfp influences Math.sin. Since I guess Math.PI is always the same, with or without strictfp. Will try something..