views:

32

answers:

1

Is there a way to use big integers or arbitrary precision types in vala?

+1  A: 

Apparently, no one made a binding yet: http://live.gnome.org/Vala/BindingsStatus, although there was some discussion about GMP & Vala operator overloading.

You'll have to bind one of the bignum libraries. (see http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic)

elmarco
ah too bad. thanks a lot.
Code Clown
yw, don't forget to share your binding (send a mail to vala-list, update the wiki, and attach it to a bug in bugzilla.gnome.org, don't forget to mention where to find the latest version). have fun!
elmarco