Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!wuarchive!udel!rochester!uhura.cc.rochester.edu!ub!dsinc!unix.cis.pitt.edu!pitt!willett!ForthNet From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: Mathematical routines Message-ID: <2730.UUL1.3#5129@willett.pgh.pa.us> Date: 8 May 91 02:52:07 GMT Organization: (n.) to be organized. But that's not important right now. Lines: 34 Date: 05-03-91 (12:56) Number: 2093 of 2105 (Echo) To: SHANNON VANCE Refer#: NONE From: RAY DUNCAN Read: 05-03-91 (16:29) Subj: SFPZ80 Status: PUBLIC MESSAGE Conf: FORTH (58) Read Type: GENERAL (+) The SFP works fine on my system exactly as it is supplied in the MC-Z80.ZIP file. The metacompiler knows how to handle \ comments in screen files. If you are getting error messages with this you must either be using an older metacompiler or you must have converted the file to a text file. The \ comment delimiter isn't supported in text files at the current time. If you compile the SFP file into the Z-80 kernel, it comes up in integer mode (COLD calls INTEGER which vectors NUMBER? NUMBER, and /NUMBER to the integer versions). To enable floating point you execute (or just type in) the word SFP which revectors NUMBER? NUMBER, and /NUMBER to their floating point equivalents. After that, floating point operations work fine (I just tried out the code in MC-Z80.SCR here once again to make sure the files hadn't gotten corrupted). For instance you can type in SFP ( enable floating point) 2.0E0 FSQRT F. ( take square root of 2, displays 1.414...) NET/Mail : LMI Forth Board, Los Angeles, CA (213) 306-3530 <<<>>> ----- This message came from GEnie via willett. You *cannot* reply to the author using e-mail. Please post a follow-up article, or use any instructions the author may have included (USMail addresses, telephone #, etc.). Report problems to: dwp@willett.pgh.pa.us _or_ uunet!willett!dwp