tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] C99 complex type support


From: Chris Marshall
Subject: Re: [Tinycc-devel] C99 complex type support
Date: Wed, 18 Nov 2015 07:04:53 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]