Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!amdahl!uunet!mcvax!ukc!harrier.ukc.ac.uk!eagle.ukc.ac.uk!mch From: mch@ukc.ac.uk (Martin Howe) Newsgroups: comp.arch Subject: Re: Assembly or .... (two-result functions) Keywords: remainder 80x87 Message-ID: <6089@eagle.ukc.ac.uk> Date: 2 Dec 88 13:24:37 GMT References: <1388@aucs.UUCP| <729@convex.UUCP> <1961@crete.cs.glasgow.ac.uk> <7740@boring.cwi.nl> <1039@l.cc.purdue.edu> Reply-To: mch@ukc.ac.uk (Martin Howe) Followup-To: comp.arch Organization: LAN/MICRO Group, University Of Kent, CANTERBURY, UK. Lines: 22 In article <1039@l.cc.purdue.edu> cik@l.cc.purdue.edu (Herman Rubin) writes: >In article <7740@boring.cwi.nl>, dik@cwi.nl (Dik T. Winter) writes: >> In article <21390@apple.Apple.COM> desnoyer@Apple.COM (Peter Desnoyers) writes: >< < In article <1032@l.cc.purdue.edu> cik@l.cc.purdue.edu (Herman Rubin) writes: >> mandate operations that return two results. So no machine I know does >> return two results; even with sine and cosine, which is implemented on >> many (as an extension to IEEE?). What exactly, then is the 80387 FSINCOS instruction, which takes ST(0) and returns it's sine and cosine in ST(0) and ST(1), ready for division (tangent) or whatever else. In what way does it not return two results ? For that matter how are the flags set if both results return the same exception ? Id be interested to know, if anyone will post or mail ... - Martin -- Martin C. Howe (mch@ukc.ac.uk) | "See them coming, Atlantis will rise, LAN/MICRO Group, Computing Lab. | it's absolute lunacy, they seek to despise!" The University, CANTERBURY, UK. | Tel. (+44 227) 764000 x 7592 | - Jon Cyriss