[Swift-devel] numeric type(s) in swift.
Yong Zhao
yongzh at cs.uchicago.edu
Fri Jul 20 09:32:46 CDT 2007
I've used float. I think the problem is on the contrary that int and float
may not be enough, we may need more numeric types.
The issues we are having now is just we need a vdl library to deal with
numeric operations, instead of relying on karajan (karajan only has double
type, which is not good for cases when we only need int).
I'd suggust we understand real user requirements before jumping into
solutions.
Yong.
On Fri, 20 Jul 2007, Ben Clifford wrote:
>
>
> On Mon, 16 Jul 2007, Ben Clifford wrote:
>
> > However, now that I look at implementing those, it makes me wonder if we
> > should have a single numeric type. Its not clear that we need float/double
> > in the language as distinct types.
>
> does any one have any particular preferences for numeric types?
>
> In particular has anyone used anything other than 'int' for anything?
>
> --
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
>
More information about the Swift-devel
mailing list