MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / round_float

Function round_float

smallthinker/tests/test-double-float.cpp:28–28  ·  view source on GitHub ↗

ggml.c::quantize_row_q4_0_ref

Source from the content-addressed store, hash-verified

26
27// ggml.c::quantize_row_q4_0_ref
28inline static uint8_t round_float(float v0) { return (int8_t)roundf(v0) + 8; }
29
30// ggml.c::ggml_silu_f32
31inline static float silu_float(float x) {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected