summaryrefslogtreecommitdiffstats
path: root/libavformat/gopher.c
diff options
context:
space:
mode:
authorGiorgio Vazzana <[email protected]>2011-11-13 16:09:58 +0100
committerMichael Niedermayer <[email protected]>2011-11-13 17:33:09 +0100
commite555119c739fb35e3bdd8905050104ae0a4692e2 (patch)
tree17c04d9f4058b8a4f7bee2859d38346e9ecdf7b7 /libavformat/gopher.c
parentad0bdd2fd26a151404c505a1d610bf95773ae18f (diff)
mandelbrot: correct and simplify the formula used in NORMALIZED_ITERATION_COUNT
Use log(sqrt(mb->bailout)) instead of log(mb->bailout) because mb->bailout represent the bailout radius squared, and then simplify the two sqrt(). This is also slightly faster. Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/gopher.c')
0 files changed, 0 insertions, 0 deletions