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 INITIALIZE THE LIST XListHead Traffic :ftp ackonwledgement for data:on starting for simulation channel.cc:sendup -cale highestantennaz_ and distcst_ sorting list ...down floating point exception (core dumped) |
|
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. |
All times are GMT -5. The time now is 09:57 PM. |