Skip to contents

Matches base R's round(x) semantics (IEEE round-half-to-even), so device-side quantization reproduces the historical writer-side round() exactly.

Usage

g_round(x)

Arguments

x

Traced array or plain numeric.

Value

Same shape as x.