source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/flops_log.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 478 bytes
Line 
1function f = flops_log
2% FLOPS_LOG    Flops for logarithm
3% FLOPS_LOG returns the number of flops needed to compute the logarithm
4% of a scalar. 
5
6% This flop count is based on timing the Pentium 4.
7% A neutral flop count is based on source code for C log() function at
8% http://www.opencores.org/cvsweb.shtml/or1k/newlib/newlib/libm/mathfp/s_log.c
9% s_sine.c is 23 flops.
10
11% if you change this, you should also change flops_pow.
12f = 20;  % P4
13%f = 20;  % neutral
Note: See TracBrowser for help on using the repository browser.