> On Mar 30, 2020, at 1:05 PM, Dirk Hohndel via subsurface 
> <subsurface@subsurface-divelog.org> wrote:
>>>> In the dive summary screen, the Avg SAC (when all dives are used)
>>>> gives
>>>> a zero or a negative value for both columns of results. The other
>>>> SAC
>>>> values displayed appear ok.
>>> I haven't seen that effect (and again tested this on two phones
>>> with to
>>> different test accounts with different data), I will look at the
>>> code
>>> to see if I can understand how that would happen. Do you have a
>>> screen
>>> shot for this effect?
>> See attached screenshot.
> 
> Thanks for that. Obviously a bug, I'll look into that later today.

Duh. I remember that your phone is one of the few remaining
32bit devices out there. And stupidly the statistics code uses
'long' assuming that that gives us 64bit. On 32bit arm long is
a 32bit integer. So my first guess would be that this is simply
an integer overflow issue.

I'll fix that and push another update to Google.

/D
_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
              • ... Miika Turkia via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Miika Turkia via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Willem Ferguson via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Willem Ferguson via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Willem Ferguson via subsurface
              • ... Chirana Gheorghita Eugeniu Theodor via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Dirk Hohndel via subsurface
              • ... Chirana Gheorghita Eugeniu Theodor via subsurface
  • Re: releasing Subsurface... Hartley Horwitz via subsurface

Reply via email to