Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!dsl.pitt.edu!pitt!willett!ForthNet From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: ANS FORTH TECHNICAL COMMITTEE Message-ID: <1615.UUL1.3#5129@willett.pgh.pa.us> Date: 27 Aug 90 03:30:57 GMT Organization: String, Scotch tape, and Paperclips. (in Pgh, PA) Lines: 67 Date: 08-23-90 (08:25) Number: 464 (Echo) To: ALL Refer#: NONE From: JACK BROWN Read: (N/A) Subj: X3J14 MEETING 13 Status: PUBLIC MESSAGE Part 2 of Keep Floating-Point Stack. +------------------------------------------------------+---------------+ | ANSI X3J14 Forth Technical Proposal, cont'd |Page 2 of 2 | +------------------------------------------------------+---------------| | Title: Keep floating-point Stack | +----------------------------------------------------------------------+ | 6) Add the following sentence to 6.7.3 floating-point stack | | Floating point-stack notation when the floating-point stack | | is separate is for example | | | | F! ( a-addr -- ) ( F: r -- ) | | or | | F! ( r a-addr -- ) | | when kept on the data stack. | | | | 7) Create a combined data stack diagram for all floating point | | words using the following algorithm: | | If floating-point numbers are kept on the data stack the | | stack notation ( F: before -- after ) should be read as data | | stack notation. If data stack notation present then | | the data stack "before" arguments are placed on top or after | | the floating-point "before arguments". | | | | | +----------------------------------------------------------------------+ | Discussion: | | | | 1) The phrase floating-point xxxx and floating-point xxxx | | where xxxx = stack , number , equality etc are both used in | | the document. We should be consistent and use one or the other. | | I prefer hyphens. | | | | 2) This will allow an ANS Forth program to determine how the | | floating-point stack is implemented which should address the | | concern of proposal TP90-729 | | | | 3) Update 4.0410 to reflect change to ENVIRONMENT? | | | | 4) Modify definition of FDEPTH to allow for floating-point numbers | | on the data stack. When floating-point numbers are kept on the | | data stack the following definition of FDEPTH should work in | | many systems. : FDEPTH DEPTH CELLS 1 REALS / ; | | This assumes that numbers would be represented in memory the | | the same as they are on the data stack. | | | | 5) The designation of r for floating-point number is missing | | from 6.8.1 | | | |6&7) We need to state how to read the floating-point stack notation | | when floating-point numbers are kept on the data stack. The | | alternative is to explicitly give the alternate data stack | | notation for each word that has floating-point stack notation. | | | +----------------------------------------------------------------------+ | Submitted by: Jack W. Brown NET/Mail : British Columbia Forth Board - Burnaby BC - (604)434-5886 ----- This message came from GEnie via willett through a semi-automated process. Report problems to: uunet!willett!dwp or dwp@willett.pgh.pa.us