Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ bf_set_nan
Function
bf_set_nan
third-party/quickjs/src/quickjs/libbf.c:280–285 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
278
}
279
280
void bf_set_nan(bf_t *r)
281
{
282
bf_resize(r, 0); /* cannot fail */
283
r->expn = BF_EXP_NAN;
284
r->sign = 0;
285
}
286
287
void bf_set_zero(bf_t *r, int is_neg)
288
{
Callers
15
bf_set_ui
Function · 0.85
bf_set
Function · 0.85
bf_set_overflow
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_sqrtrem
Function · 0.85
bf_sqrt
Function · 0.85
bf_logic_op
Function · 0.85
bf_set_float64
Function · 0.85
bf_atof_internal
Function · 0.85
Calls
1
bf_resize
Function · 0.85
Tested by
no test coverage detected