MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / rint

Method rint

extern/half/include/half.hpp:1665–1665  ·  view source on GitHub ↗

Nearest integer implementation. \param arg value to round \return rounded value

Source from the content-addressed store, hash-verified

1663 /// \param arg value to round
1664 /// \return rounded value
1665 static half rint(half arg) { return half(binary, round_half<half::round_style>(arg.data_)); }
1666
1667 /// Nearest integer implementation.
1668 /// \param arg value to round

Callers

nothing calls this directly

Calls 1

halfClass · 0.70

Tested by

no test coverage detected