Logo by Trifox - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. October 01, 2022, 04:25:40 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: FLOATING POINT MATH  (Read 1839 times)
0 Members and 1 Guest are viewing this topic.
Bent-Winged Angel
Fractal Bachius
*
Posts: 561



« on: October 28, 2010, 02:39:08 PM »

I am not a math person.  Although I am trying & want to learn  alien In one program I'm working with I consistanly get the message "invalid floating point operation" Then program "freezes up" & I need to restart PC.  Can anyone explain this in very simplistic terms?  Would be grateful!  kiss
Logged

hermann
Iterator
*
Posts: 181



WWW
« Reply #1 on: October 28, 2010, 04:58:41 PM »

A floating point value is something like 3.5 or 1.0*10**3.
A floating point error can happen if your computer performs an operation like:
float_value := 3.5/0.0;
The result may be infinit and can not be stored on a computer as a real value.

A computer has a maximum value that a float number can have on your computer.
If you create a number that is bigger the program will run into trouble.
new_float_value := fload_value_maximum + 1;
Logged

Bent-Winged Angel
Fractal Bachius
*
Posts: 561



« Reply #2 on: October 30, 2010, 04:54:26 PM »

A floating point value is something like 3.5 or 1.0*10**3.
A floating point error can happen if your computer performs an operation like:
float_value := 3.5/0.0;
The result may be infinit and can not be stored on a computer as a real value.

A computer has a maximum value that a float number can have on your computer.
If you create a number that is bigger the program will run into trouble.
new_float_value := fload_value_maximum + 1;

Thanks soo much hermann for giving me the "preliminaries" of floating points.  Definately my PC.  Also I have noticed that different programs handle it differently.  Some will give "floating point" as just one option in rendering. Some let you test the speed of it.  Or an almost endless loop error...
Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Floating Filigrees 1 Mandelbulber Gallery MarkJayBee 0 1037 Last post May 04, 2010, 03:26:15 PM
by MarkJayBee
Floating Lake Mandelbulb3D Gallery Sockratease 0 919 Last post September 19, 2010, 08:28:54 PM
by Sockratease
Roll-your-own 64 or 128 bit fixed point math for Mandelbrot/Julia calculations? Programming Duncan C 4 7286 Last post August 31, 2011, 12:21:58 PM
by real_het
cycles needed for floating point asm? Programming « 1 2 » DarkBeam 29 2710 Last post April 23, 2015, 08:49:17 PM
by claude

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.188 seconds with 25 queries. (Pretty URLs adds 0.011s, 2q)