Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-29-2011, 01:33 AM   #1
Registered: Aug 2011
Posts: 40

Rep: Reputation: Disabled
floating point exception (core dumped)

Hello ,I add a ZBR(zigbee route) route protocol in NS2.29 on Cygwin.When I use script language,there is an error:
$ ns cyl.tcl
num_nodes is set 25
Traffic :ftp
ackonwledgement for datan

starting for simulation -cale highestantennaz_ and distcst_

sorting list ...down
floating point exception (core dumped)
Old 08-31-2011, 11:42 PM   #2
Registered: Jun 2010
Location: Up the Big River w/o paddle
Distribution: Salent & Slackel
Posts: 131

Rep: Reputation: 19
Old 05-10-2013, 07:35 AM   #3
LQ Newbie
Registered: Jul 2012
Posts: 9

Rep: Reputation: Disabled
Floating Point Error (Core Dumped) Solution:

You are getting the error "Floating Point Error ( Core Dump )".

This error comes when there is some expression dividing value by zero. eg. x=10 and y=0 and x/y. This means, x is divided by zero, which results to floating point error.

Please check is your code doing division by zero? Try to resolve this zero value before expression evaluation. And thats it. Your problem is solved.

I was facing the same error which got resolved by checking variable values not equal to zero before expression evaluation.

I wish people facing this error gets solution, hence writing this report.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating Point Exception in Fedora Core x86_64 supratik_sekhar Programming 1 05-22-2008 04:34 PM
floating point exception srkbapanapalli Linux - Newbie 1 03-26-2008 11:38 AM
Floating point exception ramesh6056 Linux - Software 1 05-29-2007 01:14 AM
firefox 2.0 Floating Point Exception (core dumped) error on Ubuntu 6.10 maximum Ubuntu 1 12-28-2006 11:40 AM
Floating point exception hemk76 Linux - Software 1 05-06-2005 11:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration