Madhav Prabhu replied to the topic 'measure of the background' in the forum. 8 months ago

Okay, so thing with computers is that they can only store numbers up to a certain precision. For example the number 0.3 is probably stored as 0.30000000000000004. So when we do operations, this outcome will be different than what is expected. This also paves a way for rounding errors, division errors, error over errors as we stack up operations.

Ideally, we should use scientific computing libraries to solve this issue but that would slow down computations and will require a lot of change in the codebase. This is probably not feasible for the gain in accuracy and is probably the reason why both kstars and siril doesn't use those libraries.

Thanks and Regards

Read More...