+, -, *, /, sin etc.
Write a program that accurately measures the minimal
time to perform
an addition
an addition-multiplication pair
a division
elementary functions (test sin and exp for example)
What times did you get? Gflops? Are the values reasonable? Comments?
The unix-command, fpversion
, gives the
clock frequency on a
Sun-computer. On a Linux-system you can type cat
/proc/cpuinfo
.