How to use math functions in dcompute?

Nicholas Wilson iamthewilsonator at
Thu Sep 20 12:48:14 UTC 2018

On Thursday, 20 September 2018 at 12:43:02 UTC, Nicholas Wilson 
> Hmm, I can reproduce. Will look into it.

pragma(LDC_intrinsic, "llvm.nvvm.cos.approx.f")
float cos(float val);

does work but is an approximation.

More information about the Digitalmars-d-learn mailing list