2010/12/12 Evan Nemerson <[email protected]> > On Sat, 2010-12-11 at 21:43 +0100, pancake wrote: > > Would be also good to also support big numbers and rational ones. All > > this stuff should be designed correctly and define where it must be > > (dova,glib,vala) > > when i talked about the complex numbers was because it's interesting to use the C99 spec to reduce the code size in many programs (such as gcalctool) (and to extend the Vala language or.. in Mono, to reduce the code associated to the complex numbers manipulation), but if we start to create a lot of "types" based on structures... where is the fun?
> Why not just create bindings for GMP, and possibly MPFR and MPC? > comparing GMP with native types: GMP is very complicated, if a programmer wants to make simple calcs with complex numbers with a little precision, then using the C99 native types is suficient, and easier. In any case, making GMP bindings is an interesting idea, but there are other reasons than work with complex numbers. > > > On Dec 10, 2010, at 6:57 PM, CaStarCo <[email protected]> wrote: > > > > > Hello, i have a question. C99 specifies support for complex numbers > (gcc > > > supports it, at least for complex float, complex double, long complex > > > double, complex int and long complex int types. > > > > > > Does Vala support this type of numbers? (or will do?), I think that > it's an > > > interesting feature > > > > > > Kind regards > > > > > > -- > > -- - Per la llibertat del coneixement - - Per la llibertat de la ment... -
_______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
