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. F

    Floating, hydrostatic forces, average density

    Hello Forum, I am revisiting Archimedes principle and its important consequences. I am aware that a cube (homogeneous) made of iron will always sink in water regardless of its mass. If we changed the iron cube into a different shape (cone, cylinder, prism, parallelepiped, etc.), the object...
  2. C

    Earth referenced bias into floating circuit?

    What happens if I for example, connect an Earth referenced bias voltage to the gate/grid/input of a mosfet/tube/opamp that uses a floating power supply? Does the bias simply not work or does the circuit somehow become Earth referenced?
  3. shade rahmawati

    Mechanical Boundary condition of a Floating Structure

    Dear all, I made a cad of floating structure (the frame only), figure attached below. It should be located in the water and moored, so it can't go anywhere. The CFD simulation was done. So I have fluid force on the structure. Now I want to do mechanical analysis of the structure by apply the...
  4. slick_willy

    Enclosed floating aquatic 12v car-audio amp system

    Hey guys so I have had this idea for an electronics project for a long time, and it basically goes like this. It's a floating speaker box for floating on the river when we are rafting. Design considerations are that it would have to be unsinkable (as much as possible), also loud and with a...
  5. S

    Floating block with objects that are thrown in a liquid

    Homework Statement I'm confused about the following kind of situation. Consider a block of density ##\rho_b##, mass ##M_b## and section ##S_b## that floats on a liquid of density ##\rho_l##, in a tank of section ##\mathcal{S}##. On the block there are some objects (all equal), of density...
  6. M

    I Floating Strawberry: Real or Fake?

    Hey there! Lately, I saw a clip of a magnet and a floating strawberry. Is it real? How does it work? I am curious for your explanations.
  7. JesseJC

    Counting floating point operations in an algorithm

    Hey guys, another question regarding MatLab here. In this assignment, I need to create a function of 'k' to count the number of floating point operations in the algorithm that I've made. Here is my code so far: expAk = zeros(1000, 1000); load('CA3matrix.mat'); times = zeros(15, 1); for j =...
  8. Parsifal1

    Calculate mass of tank floating in freshwater

    Homework Statement A rectangular tank contains 6L of freshwater, has a floor area of 0.3m^2 and floats upright in freshwater. If the bottom of the tank is 150mm below the surface of the water, calculate the mass of the tank. Homework Equations F=P*A=pgAh The Attempt at a Solution...
  9. SadPanda6022

    Density floating problem, wood and lead

    1. Homework Statement A block of wood has a mass of 3.47 kg and a density of 628 kg/m3. It is to be loaded with lead (1.13 × 104 kg/m3) so that it will float in water with 0.848 of its volume submerged. What mass of lead is needed if the lead is attached to (a) the top of the wood and (b) the...
  10. T

    Determine whether the object is floating or not

    I have this homework question in fluids. A cylindrical object has one of its flat ends painted red and the other painted green. It has a radius R and height H and has a nonuniform density given by the function ρ = 6αH + 4αh where h is the distance measured from the red end, and α is a positive...
  11. x2017

    Volume of a Floating Object

    Homework Statement If a 5kg object floats in water (density=1000 kg/m3) with 20% of it's volume above the surface of the water, what is the volume of the object? Homework Equations Archimedes' Principle = the upward buoyant force that is exerted on a body immersed in a fluid, whether fully or...
  12. vinamas

    Finding the Density of a Floating Cube

    Homework Statement A wooden cube is floating in a cup containing drinking water and an unidentified fluid.0.5 of the cube's volume is submerged in water and 0.4 of the cube volume is floating on the unidentified fluid find the density of the cube and the density of the unidentified...
  13. BubblesAreUs

    Finding Epsilon & Smallest Floating Point - Python

    I'm finding it difficult to find the exact value of epsilon on python? Moreover, I am also supposed to find the smallest floating point number as well. Wikipedia tells me that the machine epsilon is 2−52 ≈ 2.22e-16 for 64-bit IEEE 754 - 2008? Is this the exact value on Python? Outside of...
  14. S

    Floating Granite Sphere Fountain

    Dear All, I want to calculate water pump required for lifting the 1.5m dia. Granite ball on 3mm water sheet. kindly help ma as the earliest. Thanks Snadeep
  15. N

    Floating on Ice: Calculating Volume Needed to Stay Afloat

    Homework Statement A person (with mass 60.0 kg) is located on a volume of ice, floating on the water. Calculate the smallest volume of the ice so that the person would remain above the water ( ice density = 917kg / m3)[/B]Homework Equations F= m xg Archimedes F = density x V xg [/B] The...
  16. J

    Archimedes' Buoyancy: Which Ball Will Experience a Greater Buoyant Force?

    Question: Balls A and B of equal mass are floating in a swimming pool, as shown below. Which will produce a greater buoyant force? (Image shows two circles with circle A larger than circle B) A. Ball A B. Ball B C. The forces will be equal D It is impossible to know without knowing the volume...
  17. 5P@N

    What % volume of this floating object is submerged?

    Homework Statement An object of 985 kg/cm^3 density is placed in water, which has a density of 1000 kg/m^3. What percentage of the object will be floating above the water? Homework EquationsThe Attempt at a Solution 985/1000 = .985, or 98.5%. 100 - 98.5 = 1.5%. Therefore: 1.5% of this object...
  18. SteveManPhy076

    Could floating cities become a reality using rocket boosters?

    Could there perhaps ever be floating cities? If we could get the type of technology that sends rockets into space, and have the boosters running at a constant and equal velocity inversely, could this cause anything to levitate? If so, would this even be habitable? Considering that the fumes...
  19. S

    Floating Cylinder of Uniform Density

    A solid cylinder of uniform density of 0.85 g/cm3 floats in a glass of water tinted light blue by food coloring...
  20. Leef

    Free floating electron quantum spin axis locked to space?

    This is my attempt at understanding any real world physical effects from quantum spin. I will start with the short version first. A ... When we have a free floating electron in space is the physical orientation of the quantum spin axis locked into a fixed 3D orientation and from there can only...
  21. mgkii

    Correct Wiring for Floating Earth in Small Generator without Ground Bonding

    I'm trying to find a correct circuit diagram for how a floating Earth is correctly wired for a small generator that is not being bonded to ground using an Earth spike. It may be that there's more than one legitimate way which is why I'm confused, but even manufacturer diagrams are contradictory...
  22. agent1594

    What type of floating point representation is this?

    In some lecture hand-outs I found the following, In IEEE 754, we just put the binaries of negative fractions in the mantissa without converting to 2C, aren't we? If then, what is the above standard of FP representation? Thanks.
  23. LouisTo

    Need help please -- Severe Occupational Pain: Design a "floating" arm

    Hello folks. My name is Louis and I am the owner of a nail salon. I've suffered from pretty severe neck and shoulder pain for at least a year or two now, to the point of tingling and numbness radiating down my arm and leg when I crack my neck to try and relieve the tension. This is a huge...
  24. G

    Floating Earth leads to dangerous case voltages - neutral OK

    I moved to Australia from the US and took my Crate amp and Ibanez electric guitar with me. To deal with the 240 VAC, I needed a step-down transformer. So I have this setup: The ground connector of the socket on the 120 VAC side got weak and stopped making connection (Note 1). So the guitar...
  25. X

    Fluids, mass of object floating over oil above water

    Homework Statement Wooden qube with 12cm faces floating inside water and oil in 2 layers. The oil floats over the water. Water density: 1gr/cm cubed Oil density: 0.8 gr/cm cubed What is the mass of the cube. Homework EquationsThe Attempt at a Solution F(buoyancy) = g*(density)*volume , but...
  26. Calpalned

    Problem 13.33 - Floating gasoline

    Homework Statement Homework Equations : Densities[/B] ##\rho = 680 ## gasoline ##\rho = 1000 ## freshwater ##\rho = 7800 ## steel The Attempt at a Solution I first converted 210 liters to volume in m3 by dividing 210 by 1000. Then I used this volume and the given density to find the mass...
  27. F

    Floating Systems: Earth Faults & Detection

    If an entire system was floating wrt Earth via infinite impedance and a person (grounded) touches a conductor am I right in saying nothing would happen due to the fact there is no return path through earth? Presumably the only way to detect an Earth fault in this case is to measure the...
  28. E

    Floating in space and angles of galaxies

    With the way our universe looks, different galaxies are angled in various ways from our perspective. What is the cause of this? My initial thoughts would be based on how spacetime is curved, or maybe it's because of the angle of rotation of the black hole at the center of those galaxies...
  29. N

    What are the atoms floating in space

    Atoms are all around us, right? we cannot move without interacting with atoms in the air the ground et cetera. This got me thinking about how infinite and vast space is compared to the seemingly small amount of planets, which are full of atoms. I use to think that planets were where all the...
  30. Hoverboardfan

    I want some advice on making a hoverboard

    The hoverboard would be a long, sleek, light, metal board with two strong but small fans underneath for power and another one on the end for propulsion. I would be about 3 feet in length, 5 in. in width, and about 4 cm. in height. The metal board would be in the shape of a skateboard but a...
  31. throneoo

    Density of a floating sphere

    Homework Statement a sphere of uniform density and radius R is floating on water , partially immersed such that the distance between the top of the sphere and the water surface is R/2 find the density of the sphere Homework Equations Archimedes Principle The Attempt at a Solution One can...
  32. Mike Dacre

    Archimedes Principle - Mass floating on ice

    Homework Statement Question: What minimum volume must a slab of ice in a freshwater lake have for a 50.0kg woman to be able to stand on it without getting her feet wet? Homework Equations Archimedes principle...
  33. L

    ESD protection for floating circuits

    How do you protect a power supply that is floating and not connected to Earth ground. Do you still connect the ESD diodes to ground and Vcc? Are there different techniques.
  34. H

    Object floating on water with oil poured in

    Homework Statement A block of wood floats in a bucket filled with water. You pour some oil into the bucket. The oil floats on top of the water and that a part of the block is now in water, part is in oil, and part is in air. What happened to the volume of the block that is in air when you put...
  35. STEMucator

    IEEE Floating Point, 64 Bit: How are Exponents Translated into Ranges?

    Homework Statement This is not a homework problem, but rather a concern I had while reading. Not sure where I should've put this thread. Homework Equations The Attempt at a Solution I was reading about how integers/floating point numbers were stored in a computer. For an n-bit word, the...
  36. C

    MATLAB Matlab basic - how to get around floating point?

    i'm trying to learn MATLAB and as such i stumbled here while looking something up http://www.mathworks.com/help/matlab/matlab_prog/floating-point-numbers.html so the questions is how does someone avoid something like e = 1 - 3*(4/3 - 1) (this is example 1 in the webpage above) not...
  37. M

    Does human body capacitance change when floating vs. standing?

    Hello guys, I read some articles recently about how touchscreens work by using the capacitance in human bodies. I'v seen the human body capacitance is quoted at around 100pf, is it the same when the human body is floating in mid-air, as if it is standing on the ground? My goal is to detect...
  38. P

    Thermodynamics of a floating cylinder

    I am wondering if my reasoning is correct for determining the energy due to the buoyancy of a deformed water surface. Essentially, one has a floating cylinder that depresses the surface of a liquid in an infinite tank as seen in the figure. I want to compare the energy of a flat surface with...
  39. P

    Why Do Objects Float in Space Station (SS)?

    I am confused about why astronauts and objects around them float in The Space Station [SS]. In space a long way from massive bodies, objects float. In free fall, objects behave as if in a Gravity free region; they also float. But the SS has 90% of the Gravity that exists on Earth. PLUS...
  40. R

    Explain regulators and floating grounds to me, eg a car alternator

    I understand the basics but I am a bit lost on what happens in this example. In a car we have an alternator that charges the battery, if the battery is charged to stop it overvolting the regulator essentially shorts power to ground via SCRs (correct me if I'm wrong but this is my understanding)...
  41. A

    Archimedes Principle Problem: Floating Object

    Homework Statement A cylindrical log of uniform density and radius R=30.0cm floats so that the vertical distance from the water line to the top of the log is d = 12.0cm. What is the density of the log? Homework Equations Fbouyant=Wwaterdisplaced ρwater * V displaced water = ρlog *...
  42. Y

    Measuring current output from a floating current source

    Hi - I am by no means an EE, so please be aware I may have some fundamental flaws in my knowlege. I have a battery powered isoluation unit that takes some voltage in and provides either a voltage or current source output. I am giving it 1V as an input and according to the conversion ratio...
  43. danjordan

    Block floating in between oil and water, what's the FBD?

    [Mentor note: This thread was moved from General Physics due to it being homework related] A friend and I were reviewing problems from a GRE subject which read: "A layer of oil with density 800 kg/m^3 floats on top of a volume of water with density 1000 kg/m^3. A block floats at the oil-water...
  44. D

    MHB Surface Area of ball floating in water

    Using calculus, how would I derive a formula for the exposed surface area of a ball floating in water? For such a formula to be a good candidate, it would have to consider oscillations of the water and placid water. The surface area of a sphere is \(A = 4\pi r^2\).
  45. D

    How Can a Table Float with Buckets?

    Hello Physics Forums, Deployment here. After browsing the internet I came across this photo.. I have been pondering and pondering on how this is actually possible. If you think about it, the buckets are actually holding down the table. Does anybody have any idea how you would conduct...
  46. J

    General tendency of a homogeneous floating balloon in a wind current

    Homework Statement Any floating homogeneous balloon in a planar uniform wind current will always "tend" to present to the wind flow a section of maximal drag. 2. The attempt at a solution I have three possible solutions to this "problem": 1- Speed gradient justification: When an object...
  47. D

    Floating Hollow Ball: Defying Balloon-Like Properties

    Is there any material,when made a hollow ball out of it & filled with lighter gas than air,will rise in air according to archimedes principle? But upon removal of that gas,it should not contract itself in volume like any balloon does...it should be able to retain its volume as it is even if...
  48. W

    Silly question: balloon floating above vs with the Earth

    Hi everyone I had this very silly question pop up that unfortunately I cannot find an answer to myself. If an object - say, a hot-air balloon - flies at a low altitude above the Earth, it will of course remain above the same spot; you could I guess say that it rotates together with the Earth...
  49. C

    What material is best to build a floating bicycle?

    Hello, I am looking on building my own water bike after finding out that they start around $1700 like the one pictured in this thread. What designs / materials can make this better? I would like to also have transparent floats rather then the original colors that you constantly see...
  50. G

    Cat walking on a log floating on water

    Homework Statement A dog and a cat, are standing at opposite ends of a uniform log that is floating in a lake. The log is 11.0m long and has mass 460kg . The dog has mass 9.0kg and the cat has mass 7.0kg . Initially the log and the two pets are at rest relative to the shore.The cat then begins...
Back
Top