Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!dimacs.rutgers.edu!seismo!uunet!spool.mu.edu!sdd.hp.com!news.cs.indiana.edu!nstn.ns.ca!usenet From: maceache@fox.nstn.ns.ca (Tim Maceachern) Newsgroups: comp.arch Subject: sin(pi) Summary: sin(pi)... Keywords: pi Message-ID: <1991Feb25.212559.22846@nstn.ns.ca> Date: 25 Feb 91 21:25:59 GMT Sender: usenet@nstn.ns.ca (NNTP Entity) Distribution: comp.arch Organization: NSTN Network Operations Centre, Nova Scotia, Canada Lines: 6 Just wanted to mention that to initialize PI you might want to try pi = atan(1)*4 which should give as much accuracy as you're entitled to. Note that multiplication by 4 on a binary machine does not lose precision. Even if you actually do the multiplication instead of shifting... Brought to you by Super Global Mega Corp .com