From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_40 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 24 Mar 92 16:00:29 GMT From: dog.ee.lbl.gov!hellgate.utah.edu!fcom.cc.utah.edu!cc.utah.edu!eyring@ucbv ax.Berkeley.EDU Subject: What's the floating point equivalent of 'first 'last ?? Message-ID: <1992Mar24.100029.1@cc.utah.edu> List-Id: This may be a FAQ, but I wouldn't know where to look for the FAQ if there was one. What's the equivalent of 'first and 'last on a floating point type? It's not 'small and 'large because 'small is the smallest POSITIVE nonzero number in the type. (ie just above zero) For example: type my_type is range -50.0 .. +75.0; What I need are attributes which will return the -50.0 and the +75.0. If it were all my own code I would put in constants, but we are interfacing with another code set here, ie I can't change their types. -- >Bob Witmer >Eyring Corp., Flight Simulation Div. >Salt Lake City, Utah >eyring@cc.utah.edu