Results 1 to 5 of 5

Thread: Exception en point flottant!!!

  1. #1
    Join Date
    Apr 2006
    Posts
    21
    Thanks
    6

    Default Exception en point flottant!!!

    When i execute my application;
    this message :
    exception point flottant

    what 's the source of error!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Exception en point flottant!!!

    Quote Originally Posted by Stephano
    exception point flottant
    Probably you divide by zero somewhere in your program.

  3. #3
    Join Date
    May 2006
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Exception en point flottant!!!

    Quote Originally Posted by Stephano
    When i execute my application;
    this message :
    exception point flottant

    what 's the source of error!
    You're french ! Sorry, I had to. I'm french too
    More seriously, your problem doesn't look Qt-related at all, but I'd go with jacek and say that you have a Division By Zero problem somewhere in your code. I don't see what else it could be.
    Visit my personal website (Qt tutorials, Ruby, Mac OS X and more): The Fifth Essence

  4. #4
    Join Date
    Apr 2006
    Posts
    21
    Thanks
    6

    Default Re: Exception en point flottant!!!

    thanks Mr gael.deest
    Yes i have the division but not with a zero.
    The pb of casting (int)
    casting float to int causes this error of opoint flottant
    I mean the qt 3 has pb in casting
    But ,the pb is resolve

    Thanks & i will visited ure site spite i m nt good in english

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Exception en point flottant!!!

    Qt3 has no problems with "casting". The compiler does the cast of floats to ints, not Qt.

  6. The following user says thank you to wysota for this useful post:

    Stephano (22nd May 2006)

Similar Threads

  1. deploy qte to omap35xx: why is float point exception
    By favor in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 12th January 2009, 06:13
  2. Floating point exception.
    By dkt8154 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 25th November 2008, 08:26
  3. Check a point inside or outside a road?
    By kstking in forum Qt Programming
    Replies: 1
    Last Post: 15th October 2007, 18:48
  4. Exceptions and qApp->processEvents()
    By mcostalba in forum Qt Programming
    Replies: 3
    Last Post: 8th January 2006, 17:06

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.