MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / asin

Method asin

dnn/include/megdnn/dtype/half.hpp:1371–1377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1369 /// \param arg function argument
1370 /// \return function value stored in single-preicision
1371 MEGDNN_HOST MEGDNN_DEVICE static expr asin(float arg) {
1372#if defined(__CUDA_ARCH__)
1373 return expr(asinf(arg));
1374#else
1375 return expr(std::asin(arg));
1376#endif
1377 }
1378
1379 /// Arc cosine implementation.
1380 /// \param arg function argument

Callers

nothing calls this directly

Calls 2

exprClass · 0.70
asinFunction · 0.70

Tested by

no test coverage detected