The heck is Racket?
The language that this site is written in.
Herbie: Automatically rewrites expressions to minimize floating point error
11–20 of 22 posts
Re: Herbie: Automatically rewrites expressions to minimize floating point error
#12Re: Herbie: Automatically rewrites expressions to minimize floating point error
#13Earlier quoted context omitted.
The language that this site is written in.
Huh? Isn't HN written in Arc?
Re: Herbie: Automatically rewrites expressions to minimize floating point error
#14I do a lot of procedural graphics on the GPU and am constantly plagued by precision issues (you cannot copy equations verbatim into code, you must observe overflow/underflow and other numerical issues). Herbie is pretty magical in that it can _automatically_ translate math expressions into a form that's friendlier for computers.
Also the reason why the GitHub site source was linked is because the website [1] crashed under traffic earlier today (full site contains an interactive solver and examples).
Re: Herbie: Automatically rewrites expressions to minimize floating point error
#15Re: Herbie: Automatically rewrites expressions to minimize floating point error
#16The OP copied only half my tweet, full title should be "...to minimize floating-point precision errors". This tool is specifically for improving the numerical accuracy of equations when translated into floating-point code-- "minimizing errors" makes no sense without the qualifiers. I do a lot of procedural graphics on the GPU and am constantly plagued by precision issues (you cannot copy equations verbatim into code,…
Re: Herbie: Automatically rewrites expressions to minimize floating point error
#17The OP copied only half my tweet, full title should be "...to minimize floating-point precision errors". This tool is specifically for improving the numerical accuracy of equations when translated into floating-point code-- "minimizing errors" makes no sense without the qualifiers. I do a lot of procedural graphics on the GPU and am constantly plagued by precision issues (you cannot copy equations verbatim into code,…
Do you have an example of a graphics algorithm that you were helped with by this tool / a description of how that went?
I've personally used it for improving some distance-field approximation code on the GPU (made it easier to translate the math into numerically-stable code).
Re: Herbie: Automatically rewrites expressions to minimize floating point error
#18The OP copied only half my tweet, full title should be "...to minimize floating-point precision errors". This tool is specifically for improving the numerical accuracy of equations when translated into floating-point code-- "minimizing errors" makes no sense without the qualifiers. I do a lot of procedural graphics on the GPU and am constantly plagued by precision issues (you cannot copy equations verbatim into code,…
Re: Herbie: Automatically rewrites expressions to minimize floating point error
#19The OP copied only half my tweet, full title should be "...to minimize floating-point precision errors". This tool is specifically for improving the numerical accuracy of equations when translated into floating-point code-- "minimizing errors" makes no sense without the qualifiers. I do a lot of procedural graphics on the GPU and am constantly plagued by precision issues (you cannot copy equations verbatim into code,…
Re: Herbie: Automatically rewrites expressions to minimize floating point error
#20The OP copied only half my tweet, full title should be "...to minimize floating-point precision errors". This tool is specifically for improving the numerical accuracy of equations when translated into floating-point code-- "minimizing errors" makes no sense without the qualifiers. I do a lot of procedural graphics on the GPU and am constantly plagued by precision issues (you cannot copy equations verbatim into code,…
I think it would be interesting if something like this could be chosen as a compiler optimization.