Thanks for the reply, Edmund.

The main thing I was looking for was support
for complex arithmetic in expressions with
+, -, *, and /.  Anything in function call form
can be readily implemented by hand.

Regards,
Chris


On 11/18/2015 06:53, Edmund Grimley Evans wrote:
I'm currently working on some experiments to
use tinycc as a JIT compiler for the computational
code for a portable numeric library (the Perl
Data Language, http://pdl.perl.org).

We have a requirement to support computation
with complex numbers and arithmetic (C99).
The initial developments look promising.

Is there a plan and/or schedule to implement
complex numbers for TinyCC?
I don't think so. I've not seen any mention of any such plan.

Generally I have the impression that people don't use C99's complex
numbers. Perhaps it was made optional in C11 partly because of that.
Perhaps people get better performance, as well as better portability,
by implementing complex numbers themselves.

However, C99 does provide a standard API and ABI, which is useful.

Edmund


_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to