-
Notifications
You must be signed in to change notification settings - Fork 944
Closed
Description
Lots of places where we're using double
constants for use in float
calculations, mixing up our widths when passing parameters, and such. We need to ensure that our code compiles without any warnings about mixing precision.
Ideally, it would be good to determine what the impact of float
vs. double
. Personally, I prefer double precision, as it's the native precision for math, and C++ constants, and is frequently faster on platforms that perform intrinsic computation in double-precision (and thus induce a performance hit when transforming from and to single-precision.