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

Method round

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

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

Source from the content-addressed store, hash-verified

1653 /// \param arg value to round
1654 /// \return rounded value
1655 static half round(half arg) { return half(binary, round_half_up(arg.data_)); }
1656
1657 /// Nearest integer implementation.
1658 /// \param arg value to round

Callers

nothing calls this directly

Calls 2

round_half_upFunction · 0.85
halfClass · 0.70

Tested by

no test coverage detected