MCPcopy Create free account
hub / github.com/VKCOM/kphp / bc_is_near_zero

Function bc_is_near_zero

runtime-common/stdlib/math/bcmath-functions.cpp:806–832  ·  view source on GitHub ↗

In some places we need to check if the number NUM is almost zero. Specifically, all but the last digit is 0 and the last digit is 1. Last digit is defined by scale.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

bc_sqrtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected