Thread View: de.comp.lang.c++
2 messages
2 total messages
Started by Christian Orth
Wed, 17 Apr 1996 13:17
math.h mod operationen
Author: Christian Orth
Date: Wed, 17 Apr 1996 13:17
Date: Wed, 17 Apr 1996 13:17
9 lines
601 bytes
601 bytes
Hallo Kann mir einer sagen, ob es ne Funktion die mir a mod b = c ausgibt gibt ??? Vielen Dank Christian P.S.: I have RTFM
Re: math.h mod operationen
Author: Dietmar Kuehl
Date: Wed, 17 Apr 1996 18:29
Date: Wed, 17 Apr 1996 18:29
13 lines
956 bytes
956 bytes
Hi,
Christian Orth (pretos@uni-paderborn.de) wrote:
: Kann mir einer sagen, ob es ne Funktion
: die mir a mod b = c ausgibt gibt ???
Wie sieht es mit 'int imod(int a, int b) { return a % b; }' aus?
Ansonsten gibt es da noch 'fmod()' (deklariert in '<cmath>'). Mit
Deinem Manual ist es nicht so richtig weit her, oder?
--
dietmar.kuehl@uni-konstanz.de
http://www.informatik.uni-konstanz.de/~kuehl/
I am a realistic optimist - that's why I appear to be slightly pessimistic
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads