What is Floating: Definition and 271 Discussions

In computing, floating-point arithmetic (FP) is arithmetic using formulaic representation of real numbers as an approximation to support a trade-off between range and precision. For this reason, floating-point computation is often used in systems with very small and very large real numbers that require fast processing times. In general, a floating-point number is represented approximately with a fixed number of significant digits (the significand) and scaled using an exponent in some fixed base; the base for the scaling is normally two, ten, or sixteen. A number that can be represented exactly is of the following form:





significand

×


base


exponent


,


{\displaystyle {\text{significand}}\times {\text{base}}^{\text{exponent}},}
where significand is an integer, base is an integer greater than or equal to two, and exponent is also an integer.
For example:




1.2345
=



12345




significand


×



10




base















4





exponent




.


{\displaystyle 1.2345=\underbrace {12345} _{\text{significand}}\times \underbrace {10} _{\text{base}}\!\!\!\!\!\!^{\overbrace {-4} ^{\text{exponent}}}.}
The term floating point refers to the fact that a number's radix point (decimal point, or, more commonly in computers, binary point) can "float"; that is, it can be placed anywhere relative to the significant digits of the number. This position is indicated as the exponent component, and thus the floating-point representation can be thought of as a kind of scientific notation.
A floating-point system can be used to represent, with a fixed number of digits, numbers of different orders of magnitude: e.g. the distance between galaxies or the diameter of an atomic nucleus can be expressed with the same unit of length. The result of this dynamic range is that the numbers that can be represented are not uniformly spaced; the difference between two consecutive representable numbers varies with the chosen scale.

Over the years, a variety of floating-point representations have been used in computers. In 1985, the IEEE 754 Standard for Floating-Point Arithmetic was established, and since the 1990s, the most commonly encountered representations are those defined by the IEEE.
The speed of floating-point operations, commonly measured in terms of FLOPS, is an important characteristic of a computer system, especially for applications that involve intensive mathematical calculations.
A floating-point unit (FPU, colloquially a math coprocessor) is a part of a computer system specially designed to carry out operations on floating-point numbers.

View More On Wikipedia.org
  1. D

    Capacitor with 2 floating gates

    Hi, I have the following theoretic setup: A cap of size C Farad is connected between nodes A and B and loaded with a specific charge (e.g. +10 on side A, -10 on side B). In the next step, i disconnect side B and before doing that, "magically" (see footnote) a charge of -3 gets injected on...
  2. S

    MHB Convert the following numbers to their floating point binary equivalent.

    Convert the following numbers to their floating point binary equivalent. Can someone check my work? a) 18.25 so I got 10010.01 I couldn't find an online conversion calculator anywhere. can you also check my answer for this one? b) 1027.375 I got 10000000011.010
  3. N

    Momentum of an astronaut floating in space

    Homework Statement You have been hired to check the technical correctness of an upcoming sci-fi thriller film. The movie takes place in the space shuttle. In one scene, an astronaut's safety line is damaged while she is on a space walk, so she is no longer connected to the space...
  4. S

    Round off error of floating point number.

    (Mods, I posted a similar thread in the computer science forum but now realize that this is a more suitable place for it. Could you please remove said thread from the other forum) I've attached a photo below of the example. 0.2 is the number that we're trying to approximate as a floating...
  5. B

    Calculating Air Flow Rate for Floating Ball in Vertical Pipe

    Hi all, I am working on a prototype and I have a question that I am not sure how to answer, thus the reason I am here. I have a piece of 4" pipe that I will vertically mount and I am reducing down to 1". Inside the tubing I have a racquetball. I am going to be sending air through the...
  6. W

    Buoyancy of a piece of wood floating in water

    Homework Statement A piece of wood floats in water with 65% of its volume under water.Find the relative density of the wood. Homework Equations Buoyancy = (Weight of object) / (Relative density of object) The Attempt at a Solution B = W/s 1= .65/s s = .65/1...
  7. S

    What are Floating Point Numbers? An Explanation with Examples

    So, I'm not 100% sure if this is actually in the correct forum or whether it should be under Mathematics. Anyway, our lecturer told us that we'd soon cover "Floating Point Numbers". Could someone give me a basic, somewhat simple explanation of what these are? Possibly with a few examples. Just...
  8. F

    Floating Point Notation Question

    Hi everyone! I'm very new to combinational logic design and this is a question on an assignment that we've been given. This particular situation wasn't covered in lecture material so I've been Googling and trying to think abstractly about it but I'm pretty stuck for an approach. And I'm not...
  9. A

    Floating Mirror & Its Unusual Focus Heat

    Scenario: Entropy of the system or say the Universe is at its maximum, and there's a parabolic mirror floating in space with an object at its focus. Due to CMBR the object at focus will heat above the CMBR. Oh! Is there something wrong?
  10. M

    Floating and Sinking in a Liquid

    This seems to be a relatively simple question, yet I'm not sure of the answer. A balloon filled with helium gas floats in air. If I submerged a balloon or container in a liquid (e.g. water), is there a liquid with which I can fill the container so as to make it float to the surface. What kind...
  11. F

    Floating Iceberg Displacing 723m³ of Water

    Homework Statement I think it should be pretty simple, but my result and that of the book are different: How much water does an iceberg displace (Its emerged part is ##V_i=100m^3##) The Attempt at a Solution knowing the density of sea water is ##d_w=1.03*10^3 kg/m^3## and that of ice...
  12. C

    Floating Objects Affected by the Moon

    This seems like a pretty simple question, but I haven't been able to find an answer yet. It has to do with gravity, so even though it's not really about special relativity, this seems like the best place to post it. My question is; if an object were free-floating in perfectly still water...
  13. M

    Objects floating in Ferrofluid

    Hi, I've been thinking about ferroufluid and its application and whether anybody would be able to answer my questions. Is it denser or lighter than water. I know oil floats but it has iron in it. Surface tension of it. Reason I am asking about the surface tension is that I was wondering...
  14. K

    Conceptual question on floating

    Homework Statement An ice cube with many air bubbles is places in water, does the water level rise, sink, or stay the same when it melts? Does your answer change if the ice cube is filled with many grains of sand? Homework Equations The Attempt at a Solution I'm not too...
  15. G

    Help with windup/pull back toy mechanism floating gear placement

    Hi, I'm trying to design a windup baby toy (think toy stuck on wall rotating) with a gearing mechanism that works similar to a pull back toy car. Essentially I want to do a three quarter turn of the front of the unit anticlockwise to wind a coil spring via a gear train. When the front of the...
  16. U

    Cylinder Floating: Frequency of Oscillation Explained

    Hi everyone, I have an exercise and i don't understand something in the solution: A cylinder of diameter d floats with l of its length submerged. The total height is L. Assume no damping. At time t = 0 the cylinder is pushed down a distance B and released. What is the frequency of...
  17. R

    Powering an OpAmp with Dual Batteries: Ground-Free Circuit Design

    How to power an OpAmp using two batteries, so there's no connection to mains ground or neutral? This circuit requires ground to force the node connecting the batteries to be at zero potential. How can I achieve the same result without grounding? thanks.
  18. coolul007

    Floating Point Addition - hardware/software

    Can someone explain to me how floating point addition is implemented on a x86 in hardware or software. I would like to find out what method is used to add varying number size. if I have a 1 X 10^-100 + 2 X 10^50. are the exponents average for a common ground or does the large one rule etc. or is...
  19. K

    Numerical floating point addition

    If I have a bunch of sorted numbers spanning a large range of magnitudes, is it better to add them up from smallest to largest or from largest to smallest, or something else? Let's say I'm summing an array A, which is sorted from large to small. Which gives a more accurate result: sum1 = 0...
  20. jegues

    EM Problem: Floating Conducting Cylinder

    Homework Statement See figure attached. Homework Equations The Attempt at a Solution Originally I have solved this problem using Gauss's law by defining a gaussian surface in the form of a cylinder around the floating cylinder to get the electric field distribution underneath...
  21. Y

    Pressure of Helium inside a balloon floating in air

    Pressure of Helium inside a balloon "floating" in air Homework Statement A spherical balloon of radius R = 2.98 m is made from a material of mass M = 3.16 kg and is filled with helium gas at temperature T = 285 K. Assume the thickness of the balloon is negligible compared to the radius of the...
  22. R

    Force needed to move a free floating object through space

    This is going to sound like a really simple question but i was wondering if there is an equation to calculate the force needed to move an object through outer-space Thanks in advance Ryan D
  23. P

    Plate floating on oil - linear momentum equation

    Homework Statement 1: Determine the wall shear stress that acts at the lower side of the plate. 2: Determine the force Fx that is needed to give the plate a speed of u = 1m/s. 3: Determine the speed V, that is leaves an air jet that blows against the plate and which creates the same force...
  24. U

    Fluid mechanics of floating wood

    Homework Statement A piece of wood is floating in water kept in a bottle. The bottle is connected to an air pump. Neglect the compressibility of water. When more air is pushed into the bottle from the pump, the piece of wood will float with a)larger part in the water b)lesser part in the...
  25. M

    A duck is floating on a lake with 25% of it's volume beneath the water

    Homework Statement A duck is floating on a lake with 25% of it's volume beneath the water. What is the average density of the duck? Homework Equations Not sure of going about this problem The Attempt at a Solution I know that p(rho) = m/V
  26. K

    Floating objects and measuring their weight

    So I came across a question on the internet and its confused me a lot. We have 200g of water inside a cup. We neglect the mass of the cup completely and assume no water is lost. We also assume that the gravitational field is uniform within our experiment room. So we place the cup on some...
  27. S

    32-bit floating point binary query.

    I’m hoping that someone will be able to clarify these questions that I have been given as I’m very confused. 1. Convert 56 832 into a 32-bit floating binary representation. 2. Convert the 32-bit floating point binary representation B28C0F34 into decimal. I have watched a couple of...
  28. K

    Water Displacement: Floating vs Submerged Objects

    difference between the amount of water displaced by a floating vs submerged object?? I'm so confused. Let's say you have the mass and density of a floating object. How would you find the volume of the water displaced? And how is this different from finding the volume of water displaced by...
  29. A

    Calculate new water height in container after adding floating object

    Hi all, I've been looking at some buoyancy problems and one continues to vex me, how to calculate the new fluid height within a container after a floating solid is added to it. I understand that for a completely submerged solid Archimedes comes into play, volume of the solid equals volume...
  30. P

    Floating Rock Raft: New Zealand Questions Answered

    Can anyone answer a couple of questions about the new floating rock raft off New Zealand ? How much mass does it contain ? Where is it headed ? ( or will it disperse ? )
  31. G

    Does a floating object always rotate about its centre of mass?

    If a large, stable floating object is placed in the ocean, free floating, and the tides and currents act on that object causing it to rotate, will it always rotate about its center of mass?
  32. B

    Electrostatic potential with floating metals:computation and measurement

    Hi all, I am considering the situation illustrated in the schematic below. A surface density of permanent charges σ is embedded into a dielectric (with relative permittivity εr) itself sandwiched between two electrically floating metallic plate. We have also L>>t1 and L>>t2. My first goal is...
  33. S

    Mass of a block floating over a heterogeneous density bar

    Hi! I just wanted to ask something. If i have a block, that is resting on the left side of a bar, and everything is floating on water, how can I calculate the mass (m) of that block? (I have the mass of the bar (M) and the volume on the block (V))
  34. S

    If an ice cube floating in a glass of water melts, won't the water level decrease?

    Consider a floating ice cube in a glass of water. I know that the weight of the ice cube is equal to the weight of the water displaced. This would mean that if the ice cube melted, the volume of water melted would be less than the volume of the ice cube, because ice has a lower density than...
  35. C

    What is the rate of temperature change for a pizza floating in space?

    Homework Statement A large, hot pizza floats in outer space after being jettisoned as refuse from a spacecraft . (Suppose the pizza is 60 cm in diameter and 2.0 cm thick, sizzling at 100°C. There's a lot of water in the cheese, but a lot of air in the crust, so we estimate a specific heat...
  36. F

    Geometrical optics - lens floating in mercury

    Homework Statement Consider a thin bi-convex lens with refractive index n which has spherical surfaces with equal radii of curvature r and a measured focal length f. The lens floats horizontally on the surface of liquid mercury so that its lower surface effectively becomes a spherical mirror...
  37. T

    How to Calculate Metacentric Height for Stability of a Floating Body?

    Hi i am not goin goin going to lie Fluid Mechanics is not my strongest subject. Im struggling to calculate the Metacentric height. Ive got the following: Total weight of assembly (W) = 2.447kgf Ajustible weight (w) = 0.204kgf Breadth of pontoon (L) = 360mm Height of metacentre...
  38. S

    MOSFETs and floating gate potential

    Hello all, Did a lab pertaining to numerous gates (AND, Or, etc) and we decided to measure the input when nothing was connected. We found the voltage to be ~1.06V. Is this voltage we are reading have something to do with the threshold voltage? If not, can someone explain what is happening here...
  39. sophiecentaur

    'floating' DC supply design needed

    I am going to put a digital panel meter on my boat to measure the battery volts and a few other things. For this, I need a DC power supply for the meter with a negative which is below the boat ground. I could easily use a 9V battery and a push button to keep it on just for taking readings...
  40. S

    The meaning of floating potential

    Since there are two competing and almost opposite definitions for the term 'floating potential' as applied to an electric circuit or arrangement, I would be interested to learn the view of PF members on the subject.
  41. S

    Floating of a 1.6mtr x 19mm x 60 mtr steel tube

    Appreciate any comments regarding the following:-(I am not an Engineer) We intend to launch (Mekong River) the subject steel tube (12mtr pipe welded together using the collar sleeve method) Flanges / gasket will be fitted at both ends of the tube. The flanges will have a 1" valve at the top and...
  42. T

    Floating Ground with wireless energy

    Building a wireless energy transfer systems with a transmitting and receiving antenna. I have encountered a problem with what appears to be a floating ground. Initial testing is done with a normal LED that will only light when I have my finger touching one of the leads on the LED. Further...
  43. M

    A frog is riding on the top of a cylindrical piece of wood floating in

    A frog is riding on the top of a cylindrical piece of wood floating in still water. Half of the wood, with a diameter of 4 cm and length 20 cm, is immersed in water. The density of water is 1 gm/cc. What is the mass of the wood along with the frog? After the frog slowly goes into the...
  44. DaveC426913

    Floating an ocean liner - Mythbusters submission

    Okay, I've composed a letter to Mythbusters regarding the https://www.physicsforums.com/showthread.php?t=544619" thread. (I started a separate thread here to avoid any weird recursivity issues in case the Mythbusters ever follow up on my link).Before I submit it, can you guys offer any...
  45. P

    The smallest floating point x such that x+2=x

    Hi! I want to calculate the smallest floating point x such that x+2=x. I've written a programme in C that does not actually determines the smallest floating point x such that x+2=x, but rather determines a power of two within an interval that contains the smallest floating point x. Does anyone...
  46. X

    Fluids Problem help invovling floating

    Homework Statement A racquetball with a diameter of 5.6 cm and a mass of 42 g is cut in half to make a boat for American pennies made after 1982. The mass and volume of an American penny made after 1982 are 2.5 g and 0.36 cm3. How many pennies can be placed in the racquetball boat without...
  47. B

    Japan Tsunami Junk Floating Towards Hawaii

    See: http://news.yahoo.com/blogs/envoy/20-million-tons-debris-japan-tsunami-moving-toward-143640503.html Up to 20 million tons of debris from Japan’s tsunami moving toward Hawaii By Laura Rozen Senior Foreign Affairs Reporter Some 5 to 20 million tons of debris--furniture, fishing...
  48. G

    Someone me with this cylinder floating upside down in water

    A hollow cylinder with closed ends is 300 mm in diameter, 450 mm high, has a mass of 27 kg and has a small hole in the bottom. With its axial vertical, it is lowered slowly into water, and then released. Calculate a. The gauge pressure of the air inside it b. The height to which the water...
  49. B

    Converting binary numbers to floating point format using single-precision IEEE 754

    Homework Statement The problem is how to begin converting 111011.0101 into floating point. I actually did begin looking at the first digit number "1" and identify that it is a negative since is one and zero is positive. Then I try working 111011.0101 separately by splitting 111011 for now and...
  50. H

    Why do iron ships float in water?

    If you drop an iron nail into water it sinks. But a ship made up of iron floats in water. Please explain this to me.
Back
Top