gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #16114] Print warning where integer overflow happens


From: Siyang He
Subject: [task #16114] Print warning where integer overflow happens
Date: Mon, 29 May 2023 21:29:14 -0400 (EDT)

Follow-up Comment #15, task #16114 (project gnuastro):

Hi Mohammad, I ran

astarithmetic noised.fits noised.fits + -g1

which took around 0.7 seconds with or without overflow checks.




I also ran

astarithmetic noised.fits noised.fits x noised.fits x -g1

which took about 1 second with or without overflow checks.


So far it looks like the overflow checks aren't having a noticeable effect on
the runtime speed. Good to see!


I have also updated my code to print one overflow message per arithemtic
operation. You can find it at
https://codeberg.org/decaf/gnuastro/src/branch/overflow-check.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/task/?16114>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]