Floating point constants not preserved perfectly to C source
|Reported by:||dagss||Owned by:||scoder|
The Cython code 0.1 * x gets turned into 0.10000000000000001 * x C-side.
This might not matter if one runs Cython and the C compiler on platforms with the same double representation. So in practice not a problem. But as a matter of principle, the less assumptions we make like this the better.
Change History (5)
comment:4 Changed 4 years ago by scoder
- Owner changed from somebody to scoder
- Status changed from new to assigned