Real is the abstract type that all real numbers derive from. Int is a subtype 
of Real, for example.

Int is a platform-specific alias for either Int32 or Int64, whichever is native 
to your machine/OS combination.

So a type like

immutable Foo
        x::Int
end

is quite efficient, whereas a type like


immutable Bar
        y::Real
end

is not very different from

immutable Bar
        y::Any
end

 — John

On Jul 5, 2014, at 12:07 PM, Michael Louwrens <[email protected]> 
wrote:

> I did not know that!
> 
> What does real refer to? Is int the same?

Reply via email to