Re: [Vala] Extended floating types
- From: Daniel Espinosa <esodan gmail com>
- To: vitaly v ch gmail com
- Cc: Vala-list <vala-list gnome org>
- Subject: Re: [Vala] Extended floating types
- Date: Sun, 22 May 2016 20:51:54 -0500
May you should be able to create your own basic type.
May should be a guide to do so.
GLib should have this types too, before you are able to create your basic
types. This means you should define a GType for a basic type, in this case
your long double.
May we can create a library to define this math basic types, to be used in
other libraries. This is not a GLib interest, I think, because is not a
primary Math library.
I was working a little in that, but may you should ask to gtk-list for help
on defining this new types.
In other ideas, is required to use that types or is possible to use some
structs holding your information in a way to be used in other methods, that
may take that structs an do calculations using that types internally,
written in C with Vala bindings [1], then return again that structs.
[] See git.gnome.org/browse/gxml it uses simple C methods and Vala bindings
to be used in Vala code for xlibxml
El may. 22, 2016 3:23 PM, "Vitaly V. Ch" <vitaly v ch gmail com> escribió:
Hi All!
Some time ago Vala has pulled my attention as a way to solve some kind of
math problems. But some time later I realized that this cozy and beautiful
staff does not have extended floating datatypes such as long double or
float128_t. This fact disappointed me and I'm interested in some comments.
With best regards,
Vitaly Chernooky
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]