[TextEditor_mcc] Re: Floating point usage in mcc/HandleInput.c

  • From: Gunther Nikl <gni@xxxxxxxx>
  • To: texteditor_mcc@xxxxxxxxxxxxx
  • Date: Tue, 7 Jun 2005 13:17:48 +0200

On Tue, Jun 07, 2005 at 11:39:34AM +0200, Jens Langner wrote:
> Gunther Nikl wrote:
> 
> >>[...] I guess I must have overseen that limitation due to the fact that
> >>borrowed that part of the code from the YAM CVS repository
> > 
> >   Well, then the code there should be changed as well. Integer math is
> >   supposed to be faster than float math ;-)
> 
> Yeah, but floating point math is more accurate and here we are not
> talking about a serious and often used operation,

  The same argument can be used to favour the integer version. ;-)
  However it wasn't a very serious suggestion.

> or do you expect to use the wheel mouse a million times per second? ;)

  I have no idea how often wheel events occur. ;-)

  My main motivation is to have some commits *g*

  Gunther

-- 
Linux is only free if your time has no value
 - Jamie Zawinski
_____________________________________________________________________________
TextEditor ML   - //www.freelists.org/list/texteditor_mcc
Listserver help - mailto:texteditor_mcc-request@xxxxxxxxxxxxx?Subject=HELP
Bugtracker......: http://sourceforge.net/tracker/?atid=731469&group_id=135025

Other related posts: