Go to Post If we're engineers, I feel we shouldn't be content with the what without the why... - Chris is me [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
  #6   Spotlight this post!  
Unread 26-10-2004, 21:57
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
Re: Has anyone had lack of processing power?

Quote:
Originally Posted by Rickertsen2
Where did you come up with these figures? The time difference btw float and fixed/decimal depends on the operation. For some operations its not that great. For others it is very large. Same with the instruction cycles.
I haven't done any real investigating into this but I'm going to have to say that it is almost guaranteed that a floating point operation will take an order of magnitude longer than the corresponding integer operation. For processors with a floating point unit, floating point operations take significantly longer than integer operations. Given that the PIC has to emulate floating point operations, what may be a one cycle operation (say, adding two integers) may take many more cycles because of all the additional operations required to unpack the floating point, perform the operation, and then repeat it.

Floating point operations on this processor will take much longer than integer operations. However, this may or may not be significant depending on other factors.

Matt
 


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
Need way to fix power feed on OI Shu Song Electrical 11 25-04-2004 15:03
Operator Interface power ISSUE kacz100 Technical Discussion 11 27-02-2004 13:46
URGENT!! Need OI power brick specs for 7AM demo tomorrow!!! kmcclary Electrical 8 10-10-2002 10:56
power of globe motor with gear box? Ken Leung Motors 5 21-11-2001 13:43
Max mechanical power of motors, how is it useful? Ken Leung Motors 1 09-11-2001 14:15


All times are GMT -5. The time now is 20:28.

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