compileml.compile

rha

def rha(x: float) -> int

from compileml.compile import rha

Round half away from zero (spec §2.1).

Parameters#

NameTypeDefaultKind
xfloatrequiredpositional

Returns#

int