Source
Edit
c_fma means compatible fma, using <math.h> fma when for C
proc c_fma(x, y, z: cdouble): cdouble {.importc: "fma", header: "<math.h>",
...raises: [], tags: [], forbids: [].}
-
Source
Edit
proc c_fma(x, y, z: cfloat): cfloat {.importc: "fmaf", header: "<math.h>",
...raises: [], tags: [], forbids: [].}
-
Source
Edit
func fma[F: SomeFloat](x, y, z: F): F {....raises: [].}
-
Warning:
this fma does not touch errno and exception is discarded
Source
Edit
func fma[F: SomeFloat](x, y, z: F; exc: var ref Exception): F {....raises: [].}
-
EXT.
Source
Edit