source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/flops_div.m
Last change on this file was 37, checked in by , 15 years ago | |
---|---|
File size: 370 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function f = flops_div |
2 | % FLOPS_DIV Flops for division. | |
3 | % FLOPS_DIV returns the number of flops needed to divide two scalars. | |
4 | ||
5 | % This count is based on timing the Pentium 4. | |
6 | % A better approach would look at an ideal implementation of division | |
7 | % hardware (Hennessy and Patterson comes to mind) and count how many adders | |
8 | % and multipliers are needed. | |
9 | ||
10 | f = 8; |
Note: See TracBrowser
for help on using the repository browser.