Searched refs:int12log (Results 1 – 1 of 1) sorted by relevance
156 int int12log; in round12log() local164 int12log = int (2000.5 + 200.0 * log (x / middleval) / log (2.0)); in round12log()166 if (int12log > 4095) in round12log()167 int12log = 4095; in round12log()169 if (int12log < 1) in round12log()170 int12log = 1; in round12log()173 return middleval * pow (2.0, (int12log - 2000.0) / 200.0); in round12log()