Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ bf_set_zero
Function
bf_set_zero
third-party/quickjs/src/quickjs/libbf.c:287–292 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
285
}
286
287
void bf_set_zero(bf_t *r, int is_neg)
288
{
289
bf_resize(r, 0); /* cannot fail */
290
r->expn = BF_EXP_ZERO;
291
r->sign = is_neg;
292
}
293
294
void bf_set_inf(bf_t *r, int is_neg)
295
{
Callers
15
__bf_round
Function · 0.85
bf_add_internal
Function · 0.85
bf_mul
Function · 0.85
__bf_div
Function · 0.85
bf_divrem
Function · 0.85
bf_set_float64
Function · 0.85
bf_atof_internal
Function · 0.85
check_exp_underflow_overflow
Function · 0.85
bf_exp
Function · 0.85
bf_log
Function · 0.85
bf_pow
Function · 0.85
bf_sin
Function · 0.85
Calls
1
bf_resize
Function · 0.85
Tested by
no test coverage detected