projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
47a5190
)
[Patch POSIX.pod] "fmod" ne "modf"
Newton, Philip [Thu, 20 Jun 2002 14:28:35 +0000 (16:28 +0200)]
From: "Newton, Philip" <Philip.Newton@datenrevision.de>
Message-ID: <
C9A98F2128EDD411B0920008C7B337A13DCDA7
@hamsem01.de.gedas.vwg>
p4raw-id: //depot/perl@17323
ext/POSIX/POSIX.pod
patch
|
blob
|
blame
|
history
diff --git
a/ext/POSIX/POSIX.pod
b/ext/POSIX/POSIX.pod
index
7b18fe5
..
286df40
100644
(file)
--- a/
ext/POSIX/POSIX.pod
+++ b/
ext/POSIX/POSIX.pod
@@
-385,7
+385,7
@@
integer value less than or equal to the numerical argument.
This is identical to the C function C<fmod()>.
- $r = modf($x, $y);
+ $r = fmod($x, $y);
It returns the remainder C<$r = $x - $n*$y>, where C<$n = trunc($x/$y)>.
The C<$r> has the same sign as C<$x> and magnitude (absolute value)