Jeg har prøvet at finde ud af hvad RAWSUBTRACT står for.
Et decimaltal (float) fylder 4 bytes, og har en præcision på ca 7
decimaler.
Hvis man vil have 10 decimalers præcision bliver 1,0 til 1,0000000562 eller
lignende.
Af en eller anden grund er der nogen der ønsker at bibeholde disse upræcise
værdier,
der bl.a. gør at (0,3 - 0,2 - 0,1) ikke bliver 0, men istedet
0,000000000000000002775557561 eller lignende.
Hvad skal vi oversætte det med?
Mit forslag er RÅ.SUB eller RÅ.SUBTRAKTION
Venligst
David
Udpluk fra release notes:
New spreadsheet functions
RAWSUBTRACT to subtract numbers without canceling out small roundoff
errors. tdf#71459 (Eike Rathke (Red Hat, Inc.))
=RAWSUBTRACT(a,b,c) is like =a-b-c, but the - minus operator
cancels out small roundoff errors that are due to the fact that not every
decimal number can be exactly represented as a binary floating point number
and effectively the operation snaps to zero. RAWSUBTRACT uses the IEEE754
operation the platform/compiler provides. For example, =0.3-0.2-0.1 results
in 0, whereas =RAWSUBTRACT(0.3,0.2,0.1) results in 2.77555756156289E-17
This can be used to compare whether a result exactly matches an
expected number, i.e. if =RAWSUBTRACT(result,expected) equals 0.0
--
Send en e-mail til dansk+unsubscribe@da.libreoffice.org for instruktioner om hvordan du ophæver dit
abonnement
Problemer? http://da.libreoffice.org/kontakt-os/postlister/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
Listens arkiv er tilgængelig på http://listarchives.libreoffice.org/da/dansk/
Alle beskeder du sender til listen bliver publiseret her og kan ikke efterfølgende slettes
Context
- Re: [da-dansk] Oversættelse af regenarksfunktioner (continued)
Re: [da-dansk] Oversættelse af regenarksfunktioner · David Lamhauge
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.