Lines Matching refs:round
14 ``round`` function from ``math.h`` can be tested by itself, so it will live in
15 the directory of its own named ``src/math/round/``.
20 implementation header file. For the ``round`` function, the path to the
21 implementation header file will be ``src/math/round/round.h``. The rest of this
28 We will use the ``round`` function from the public ``math.h`` header file as an
29 example. The ``round`` function will be declared in an internal header file
30 ``src/math/round/round.h`` as follows::
32 // --- round.h --- //
38 double round(double);
44 Notice that the ``round`` function declaration is nested inside the namespace
53 ``round`` function from ``math.h`` should be defined as follows, say in the file
54 ``src/math/math/round.cpp``::
56 // --- round.cpp --- //
60 double LLVM_LIBC_ENTRYPOINT(round)(double d) {
77 a post build step. For example, for the ``round`` function, one can use
80 objcopy --add-symbol round=.llvm.libc.entrypoint.round:0,function round.o