 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bart Guest
|
Posted: Mon Mar 14, 2005 9:41 am Post subject: Weird Floating point Error |
|
|
Hi,
Since a few days i'm getting Invalid Floating Point Operations Errors
(EInvalidOp) cin my project.
The stupid thing is that it worked fine and now it crashes at the next
statement:
#define WORD_BUILDING_BLOCK_TRUE_PAGE_LENGTH 850
m_iPageNumber = ( fTopLeftY / WORD_BUILDING_BLOCK_TRUE_PAGE_LENGTH ) + 1;
fTopLeftY is a float.
m_iPageNumber ia a integer.
Can someone explain to me why this is now happening.
Regards,
Bart
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|