[D-runtime] Is core.math public API?

David Nadlinger code at klickverbot.at
Tue Oct 2 09:43:03 PDT 2012


core.math contains a few magic declarations (cos, fabs, ldexp, rint,
rndtol, rndtonl, sin, sqrt, yl2x) recognized by DMD as intrinsics for
the respective math functions.

Is the module actually public API? I would guess so, but the reason
why I'm asking is that currently LDC does not implement them, but
nobody has ever complained about linker errors so far. Also,
http://dlang.org/phobos/core_math.html is not linked from the doc
index in the sidebar on dlang.org.

David


More information about the D-runtime mailing list