SLEEF

Usage

use SLEEF;

or

import SLEEF;
config param useSLEEF = false
config param SLEEF_INSTALL = "../third-party/sleef/sleef-install"
proc doSimpleOp(type impl, param name: string, x: impl.vecType) : impl.vecType
record sleef
proc type sin(type e, param n: int, x: vectorType(e, n)) : x.type
proc type cos(type e, param n: int, x: vectorType(e, n)) : x.type
proc type tan(type e, param n: int, x: vectorType(e, n)) : x.type
proc type asin(type e, param n: int, x: vectorType(e, n)) : x.type
proc type acos(type e, param n: int, x: vectorType(e, n)) : x.type
proc type atan(type e, param n: int, x: vectorType(e, n)) : x.type