3

Steps to reproduce:
Search "231"

Expected behavior:
I expected 2,147,483,648 but kagi returned got 2,147,483,650. It also returns the same wrong result for "231-1".

If this is due to e.g. floating point arithmetic behind the scenes, you should just display an approximate result in scientific notation. But a 64 bit float (e.g. in javascript) should be able to represent up to 253 integers accurately, so I am not sure where this bug comes from.

    Just realized the formatter used superscript, but the actual string is 2^31

      grantslatton
      If I set kagi search to 1 year (which is my default) I get the correct answer - in a single line at the top
      If is set it to all I get the wrong answer in a box like your result

        6 days later
        No one is typing