folly::reproducible_accumulator::unsafe_add

Deposits x into the accumulator without updating bins or renormalizing. The caller must ensure set_max_abs_val() has been called and renorm() is called every endurance() deposits.

Synopsis

Declared in <folly/math/ReproducibleAccumulator.h>

void
unsafe_add(ftype const x);

Parameters

NameDescription
xThe value to deposit.