XML

kent logo

CO538 Anonymous Questions and Answers Keyword Index

This page provides a keyword index to questions and answers. Clicking on a keyword will take you to a page containing all questions and answers for that keyword, grouped by year.

To submit a question, use the anonymous questions page. You may find the keyword index and/or top-level index useful for locating past questions and answers.

Keyword reference for floating-point

2004

Question 97 (2004):

This is the error that came up when I tried to run my code:

    KROC: Floating-point error
    KROC: Fatal error code 42, core dumped
    Abort (core dumped)

Can you tell me what it means ?

Answer 97:

It means there was a floating point error.. If you've got access to the Linux (or cygwin) version of KRoC, compile with the "-d" flag (debugging) and it'll give you some useful information. Floating-point errors include: divide-by-zero, overflow, underflow, denormalised-operand and inexact-result. Chances are it's divide-by-zero (or modulo-by-zero).

Keywords: floating-point

Valid CSS!

Valid XHTML 1.0!

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
Last modified Mon May 20 13:50:27 2013
This document is maintained by Fred Barnes, to whom any comments and corrections should be addressed.