Go to Post "I got flour all over my Chromebook!" - frcguy [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-02-2008, 23:00
owenhealy owenhealy is offline
Registered User
FRC #0293 (SPIKE)
Team Role: Student
 
Join Date: Feb 2008
Rookie Year: 2005
Location: New Jersey
Posts: 1
owenhealy is an unknown quantity at this point
Results from timing floating point operations

I got these results by performing the operations on the fast loop increasing numberse of times and counting the number of fast loops per slow loop, then doing a linear regression. I have nothing to compare this method with to judge its accuracy, and I'd be interested if anyone else has different data.

Operation Time (in slow loops)

blank 2.33e-10
+ 8.71e-04
- 9.60e-04
* 8.35e-04
/ 3.92e-03
fabs 2.75e-04
ldexp 2.34e-03
exp 2.50e-02
sqrt 2.86e-02
asin 4.76e-02
acos 4.76e-02
atan2 3.12e-02
atan 1.82e-02
sin 2.04e-02
cos 2.22e-02
tan 2.27e-02
sinh 3.57e-02
cosh 3.33e-02
tanh 3.57e-02
frexp 2.41e-03
log10 2.56e-02
log 2.50e-02
pow 1.00e-01
ceil 4.39e-03
floor 3.58e-03
modf 4.74e-03
fmod 2.79e-03
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OI Operations AmitCarmeli Control System 1 08-01-2008 08:39
Floating point math zero flippo Programming 3 09-02-2007 09:00
Floating point math in PBASIC John Gutmann Programming 2 26-12-2005 20:07
Converting floating point to integers logicalhippo Programming 3 29-01-2005 12:10
Results from Drexel, thanks from 365. archiver 2001 1 24-06-2002 02:44


All times are GMT -5. The time now is 23:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi