Benchmark for some floating point operations.

Description | Download | Table of Contents | Modules | Compound List | File List | Functions


Overview
Compiler
Documentation
Examples
Misc
Help
IDE & Tools

Download
Install

Links
Projects






This program benchmarks the following operations:

  • 32-bit float mul, add, sub, div, neg.
  • 64-bit float mul, add, sub, div, neg.

NameTimeTicks
Empty bench (correction) 8 us[17]
Float mul (9) 4694 us[9389]
Float add (19) 3136 us[6272]
Float neg (-19) 1875 us[3750]
Float div (-197) 26791 us[53583]
Float to long (-194) 1282 us[2564]
Long to float (-192) 2049 us[4098]
Double mul (9) 9864 us[19728]
Double add (19) 4855 us[9710]
Double neg (-19) 3287 us[6574]
Double div (-197) 17250 us[34500]
Double to long (-194) 1528 us[3056]
Long to double (-192) 5534 us[11068]
Source file: bench-float.c

Description | Download | Table of Contents | Modules | Compound List | File List | Functions

    Last modified,
    Apr 16, 2001
[ Copying ]     [ Feedback to Stephane.Carrez@worldnet.fr ]