David,

Your 12 bytes for an allocated real on a 32-bit machine are comprised
as follows:

struct b_real {                 /* real block */
   word title;                  /*   T_Real */
   double realval;              /*   value */
   };

That's 8 bytes to hold the results of the arithmetic you performed,
and 4 bytes of type information.

On Wed, Oct 13, 2010 at 7:27 AM, David Gamey <[email protected]> wrote:
> Does anyone have a clue as to why evaluating a real number generates 12
> bytes!?
>
> The allocation is in the block region BTW and it makes no difference if the
> expression is all reals or involves type coercion.
>
> Windows Unicon binary dated April 2010 on Windows 7.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to