Herbie detects inaccurate expressions and finds more accurate replacements
1–9 of 9 posts
Re: Herbie detects inaccurate expressions and finds more accurate replacements
#2Re: Herbie detects inaccurate expressions and finds more accurate replacements
#3Re: Herbie detects inaccurate expressions and finds more accurate replacements
#4That is, a future language should let you say here's a real expression, and I want you to give me an approximation in my 64-bit floating point representation, and here's the parameters for accuracy and performance. What do those parameters look like? Herbie's existing UI might help us somewhat but it's definitely up for experimentation.
Compare regular expression handling - you are not expected in any popular language today to manually translate the expression into an FSM and then run the FSM, that's all done for you, you just write down the expression, real arithmetic could be the same.
Re: Herbie detects inaccurate expressions and finds more accurate replacements
#5Re: Herbie detects inaccurate expressions and finds more accurate replacements
#6Re: Herbie detects inaccurate expressions and finds more accurate replacements
#7https://news.ycombinator.com/item?id=38451680 (159 points)
https://news.ycombinator.com/item?id=24069465 (152 points)
https://news.ycombinator.com/item?id=10964617 (117 points)
Re: Herbie detects inaccurate expressions and finds more accurate replacements
#8Re: Herbie detects inaccurate expressions and finds more accurate replacements
#9Can someone explain why sqrt(x+1) - sqrt(x) is “inaccurate” for all x>1? Inaccurate how, and why, and why is 1/(…) any better? Thanks.