----- Original Message -----
> From: "Timur Irikovich Davletshin" <timur.davlets...@gmail.com>

> I'm not sure if this is a bug or something I don't understand.
>
> Bauhaus controls let me specify (and eventually store) negative zeros
> like -0.00EV in exposure module. Is it different from 0.00EV or there
> is some hidden rounding problem like -0.0000001?

Probably just a consequence of using floating point numbers in the 
implementation.

Floating points accept +0.0 and -0.0, but these numbers behave the same in 
almost all operations (+0.0 == -0.0 for example). AFAIK the only different 
thing is that 1/+0.0 == +infinity while 1/-0.0 == -infinity. You may care about 
that as a programmer writing very tricky programs with floating point numbers, 
but as a darktable user, they are just the same!

-- 
Matthieu Moy
https://matthieu-moy.fr/
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to