Skip to main content

Questions tagged [floating-point]

Mathematical questions concerning floating point numbers, a finite approximation of the real numbers used in computing.

-1 votes
1 answer
98 views

I was working on an exercise from a chemistry textbook which was about an application of the osmotic pressure formula. When I checked the solution the answer give was $62.05$ while I was getting as a ...
smith's user avatar
  • 133
0 votes
0 answers
42 views

Problem: We want to determine whether the following algorithm is stable or not. Data is $x_{1},x_{2} \in \mathbb{C}$, Solution is $x_{1}(x_{2}+1)$, computed as $\text{fl}(x_{1}) \otimes (\text{fl}(x_{...
Miranda's user avatar
  • 1,191
0 votes
0 answers
54 views

For this expression: ...
avigt's user avatar
  • 109
2 votes
1 answer
80 views

What is the variance of the relative error introduced by a converting a random real number to a float? I was able to develop a formula which, empirically, is off by a factor of 2. Let $\mathcal F \...
SRobertJames's user avatar
  • 6,261
4 votes
2 answers
197 views

I am investigating the behavior of an approximation of 1/sqrt(x) which uses a similar method to the more famous Quake III "Fast Inverse Square Root". Quake's FISR uses an approximation of ...
Adam Hyland's user avatar
1 vote
2 answers
208 views

This must have been studied before, and has been one of the confusion I've been having. Suppose we want to convert a astronomically big floating point number (so big that it's floating point ...
DannyNiu's user avatar
  • 355
1 vote
0 answers
69 views

In my numerical analysis text book there is this problem Assume a machine with base $\beta$, and $p$ mantissa digits, and that $u$ is the round-off error of a particular number. The number $∣x∣=(0....
Mathemagician's user avatar
0 votes
1 answer
103 views

I was reading: https://www.cs.usask.ca/~spiteri/CMPT898/notes/numericalStability.pdf Where I read that the algorithm $\tilde{f}(x)=fl(x)\bigoplus1$ for the problem $f(x)=x+1$, is stable but not ...
PranksterSabeleye's user avatar
4 votes
2 answers
178 views

Investigating the floating-point implementation of the $\operatorname{pow}(x,b)=x^b$ with $x,b\in\Bbb R$ in some library implementations, I found that some pow ...
emacs drives me nuts's user avatar
7 votes
0 answers
182 views

IEEE 754 floating point numbers contain the concept of 𝙽𝚊𝙽 (not a number), which "dominates" arithmetical operations ($+,-,⋅,÷$ will return ...
Hyperplane's user avatar
  • 12.3k
3 votes
0 answers
75 views

In the following equation $$10^{10^z} = 10^{10^x}+10^{10^y}$$ I want to find an algorithm that computes $z$ in a floating point accurate manner given any values of $x$ and $y$ (e.g. $x=y=2000$). The ...
Gerben Beintema's user avatar
2 votes
2 answers
123 views

I have this function $$f(x, t)=\frac{\left(1+x\right)^{1-t}-1}{1-t}$$ Where $x \ge 0$ and $t \ge 0$. I want to use it in neural network, and thus need it to be differentiable. While it has a ...
yuri kilochek's user avatar
1 vote
0 answers
124 views

I have a question about the proof of the following statement: For each set of machine numbers $F(b, n, E_{min}, E_{max})$ with $E_{min} < E_{max}$ the following inequality holds: $\epsilon_{mach} \...
Felix Gervasi's user avatar
1 vote
0 answers
184 views

When graphing a function and then going through the process to calculate the zeroes (left bound, right bound, guess), is there a reason that sometimes it shows y = 0, but there are other times when it ...
mmmmmm's user avatar
  • 481

15 30 50 per page
1
2 3 4 5
32