Original Post
🔒 Locked
float V double
Advertisement
1) all operands are converted to 80 bit extended format
2) doubles are 2x as big => more memory pressure
3) speedwise, the only difference is FPU precision: double fdivs and fsqrts are ~25% (estimate) slower.
civguy: Zimbabwe? Did''t it use to be ''somewhere in northern europe''?
2) doubles are 2x as big => more memory pressure
3) speedwise, the only difference is FPU precision: double fdivs and fsqrts are ~25% (estimate) slower.
civguy: Zimbabwe? Did''t it use to be ''somewhere in northern europe''?
As I don''t know C++ I can only give you the psuedocode:
-Record the current system time in milliseconds
-Run a loop with the calculation a known number of times
-Again, record the number of milliseconds
-Subtract the start time from the end time and divide by the number of loops
-This will give you the time taken to perform one calculation
#Old Steve, he said to Xerox "Boys, turn your heads and cough"
And when no-one was looking he ripped their interfaces off#
Three Dead Trolls in a Baggie on the truth behind MacOS 1
SketchSoft | SketchNews
-Record the current system time in milliseconds
-Run a loop with the calculation a known number of times
-Again, record the number of milliseconds
-Subtract the start time from the end time and divide by the number of loops
-This will give you the time taken to perform one calculation
#Old Steve, he said to Xerox "Boys, turn your heads and cough"
And when no-one was looking he ripped their interfaces off#
Three Dead Trolls in a Baggie on the truth behind MacOS 1
SketchSoft | SketchNews
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement