Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146086595
D53625.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
998 B
Referenced Files
None
Subscribers
None
D53625.diff
View Options
diff --git a/lib/msun/man/atan2.3 b/lib/msun/man/atan2.3
--- a/lib/msun/man/atan2.3
+++ b/lib/msun/man/atan2.3
@@ -150,14 +150,14 @@
(r,\(*h)
coordinates that must satisfy x =
.if n\
-r\(**cos theta
+r*cos theta
.if t\
-r\(**cos\(*h
+r*cos\(*h
and y =
.if n\
-r\(**sin theta.
+r*sin theta.
.if t\
-r\(**sin\(*h.
+r*sin\(*h.
These equations are satisfied when (x=0,y=0)
is mapped to
.if n \
@@ -168,7 +168,7 @@
should be computed thus:
.Bd -unfilled -offset indent
.if n \{\
-r := hypot(x,y); ... := sqrt(x\(**x+y\(**y)
+r := hypot(x,y); ... := sqrt(x*x+y*y)
theta := atan2(y,x).
.\}
.if t \{\
@@ -194,9 +194,9 @@
In general the formulas above are equivalent to these:
.Bd -unfilled -offset indent
.if n \
-r := sqrt(x\(**x+y\(**y); if r = 0 then x := copysign(1,x);
+r := sqrt(x*x+y*y); if r = 0 then x := copysign(1,x);
.if t \
-r := \(sr(x\(**x+y\(**y);\0\0if r = 0 then x := copysign(1,x);
+r := \(sr(x*x+y*y);\0\0if r = 0 then x := copysign(1,x);
.Ed
.El
.Sh SEE ALSO
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 28, 4:57 PM (19 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29075970
Default Alt Text
D53625.diff (998 B)
Attached To
Mode
D53625: atan2.3: Simplify asterisks
Attached
Detach File
Event Timeline
Log In to Comment