MCPcopy 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
280void 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
287void bf_set_zero(bf_t *r, int is_neg)
288{

Callers 15

bf_set_uiFunction · 0.85
bf_setFunction · 0.85
bf_set_overflowFunction · 0.85
bf_add_internalFunction · 0.85
bf_mulFunction · 0.85
__bf_divFunction · 0.85
bf_divremFunction · 0.85
bf_sqrtremFunction · 0.85
bf_sqrtFunction · 0.85
bf_logic_opFunction · 0.85
bf_set_float64Function · 0.85
bf_atof_internalFunction · 0.85

Calls 1

bf_resizeFunction · 0.85

Tested by

no test coverage detected