For LARGE() the rank is to be rounded up, not down
commit79aed20c3d48b2be5cdee5de42559649db0eb5fa
authorEike Rathke <erack@redhat.com>
Sun, 5 Mar 2023 23:34:29 +0000 (6 00:34 +0100)
committerEike Rathke <erack@redhat.com>
Mon, 6 Mar 2023 17:53:12 +0000 (6 17:53 +0000)
treeeeb4c1c14335492529df264efedfd415a448b6f5
parent317ed3e81a5aa7826176a5122c2d8ea76aa0fb37
For LARGE() the rank is to be rounded up, not down

See
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part4-formula/OpenDocument-v1.3-os-part4-formula.html#LARGE
vs
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part4-formula/OpenDocument-v1.3-os-part4-formula.html#SMALL

Change-Id: Ib2c9aa11c41da5ce7f9872a949017035a7b70758
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148289
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
sc/source/core/tool/interpr3.cxx