[Cfp-interest 3271] Re: Specification of complex operators
Damian McGuckin
damianm at esi.com.au
Fri Sep 13 09:13:02 PDT 2024
On Thu, 12 Sep 2024, Damian McGuckin wrote:
> I whipped up a quick example in Chapel. I use a Chapel compiler which uses
> the CLANG/LLVM backend:
> The value of t (coming from main32 using 32-bit floating point) is
>
> inf + inf i
>
> which is Chapel-speak for
>
> INFINITY + INFINITY * I
>
> The Chapel compiler can be built with a GCC backend. I will ask somebody
> who has done this what result they see with Chapel in that case.
The Chapel compiler gets the same results as MPC with the GCC backend.
The problem must lie in the front ends.
Hope this helps.
Regards - Damian
More information about the Cfp-interest
mailing list