🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.lisp.mcl
Article #670

Re: Double float woes...

#670
From: Pete Grant
Date: Sun, 24 Jan 1993 03:30
11 lines
909 bytes
In article <63460@mimsy.umd.edu> waander@cs.umd.edu (Bill Andersen) writes:
>
>  Is there any way to get the integer value of a double-float
>without consing?  I tried (floor x), where x is a double-float
>and I get charged 24 bytes....  Since fixnums are immediate,
>just returning one should not cons and I don't care about the
>remainder..  Any ideas???
>
>  ...Bill

Sure, get a Symbolics.  On my 3650 I get charged 0 bytes. :-)h
Technical Details
Message-ID: <1993Jan24.033016.27019@pentagon-gw.army.mil>
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!mimsy!prometheus!media!hqda-ai!grant
References: <63460@mimsy.umd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!mimsy!prometheus!media!hqda-ai!grant
From: grant@pentagon-gw.army.mil (Pete Grant)
Newsgroups: comp.lang.lisp.mcl
Subject: Re: Double float woes...
Message-ID: <1993Jan24.033016.27019@pentagon-gw.army.mil>
Date: 24 Jan 93 03:30:16 GMT
References: <63460@mimsy.umd.edu>
Organization: U.S. Army Artificial Intelligence Center, The Pentagon
Lines: 11