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

Re: [RFR] man://manpages-l10n/fmod.3.po (2/2)



Am Thu, Mar 14, 2024 at 03:48:27PM +0100 schrieb Christoph Brinkhaus:
> Hallo Helge,
> ich meine, das erste Beispiel ist nicht richtig.
> Vielleicht liegt der Fehler bei mir, das kann ich nicht ausschliessen.

Nun habe ich ein minimalisitsches C-Programm erstellt:

cat hallo.c

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main(void)
{
printf(" 372 und  360:  %f\n", fmod(372, 360));
printf("-372 und  360:  %f\n", fmod(-372, 360));
printf("-372 und -360:  %f\n", fmod(-372, -360));
exit(0);
}

gcc hallo.c erzeugt a.out. Das wird ausgeführt.

./a.out
372 und 360:    12.000000
-372 und 360:   -12.000000
-372 und -360:  -12.000000

> > msgid "The call I<fmod(372, 360)> returns 348."
> > msgstr "Der Aufruf I<fmod(372, 360)> liefert 348 zurück."

Das stimmt wohl wirklich nicht.
Die zwei anderen Beispiele sind richtig gerechnet.
Der Rest ist gelöscht.

Viele Grüße,
Christoph

Attachment: signature.asc
Description: PGP signature


Reply to: