MCPcopy 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
287void 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
294void bf_set_inf(bf_t *r, int is_neg)
295{

Callers 15

__bf_roundFunction · 0.85
bf_add_internalFunction · 0.85
bf_mulFunction · 0.85
__bf_divFunction · 0.85
bf_divremFunction · 0.85
bf_set_float64Function · 0.85
bf_atof_internalFunction · 0.85
bf_expFunction · 0.85
bf_logFunction · 0.85
bf_powFunction · 0.85
bf_sinFunction · 0.85

Calls 1

bf_resizeFunction · 0.85

Tested by

no test coverage detected