Interestingly, on execution complex multiplication works as expected. It
is only complex division that produces an error:
missing function: __divdc3
Can anyone reproduce this result?
On Tuesday, October 13, 2015 at 9:02:11 PM UTC+2, Richard Lincoln wrote:
>
> I receive these two warnings when compiling code with complex number
> multiplication and division:
>
> warning: unresolved symbol: __divdc3
> warning: unresolved symbol: __muldc3
>
> I can reproduce the message by compiling this:
>
> #include <complex.h>
>
> void cdiv() {
> double complex a, b, c;
> a = 2.0+3.0*I;
> b = 3.0+4.0*I;
> c = a / b;
> c = a * b;
> }
>
> The message is received using emcc 1.34.1. If I change the type to float
> complex I get:
>
> warning: unresolved symbol: __mulsc3
> warning: unresolved symbol: __divsc3
>
> Is there a library that I should be linking to? Perhaps something is
> missing from Emscripten. Should I create an issue for this?
>
> Regards,
> Richard
>
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.