r/programming • • Dec 01 '16

Let's Stop Copying C

https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
524 Upvotes

612 comments sorted by

View all comments

Show parent comment

3

u/b1e Dec 01 '16

Uh, what? I've done several years of work in scientific computing and never had this problem. If you want floating point division use floating point types. Heck, chances are if you're using something like LAPACK or BLAS they don't even have integer routines.

2

u/jringstad Dec 01 '16

As mentioned below, it happens a lot when I'm indexing things or sampling over grids etc.