Re: [Vala] Complex number support?





On Dec 12, 2010, at 12:11 AM, Evan Nemerson <evan coeus-group com> wrote:

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)

Why not just create bindings for GMP, and possibly MPFR and MPC?


If we plan to add complex, big and rational numbers support to Vala, writing bindings is not the solution.

This would probably require few CCodes more in order to support basic arithmetics on the new data types. 
Which is conflicting with operator overloading... 

On Dec 10, 2010, at 6:57 PM, CaStarCo <castarco gmail com> 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
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]