remove atan2 (WG17 UD #175)
This commit is contained in:
parent
0449bf1e7f
commit
7bf8187bba
@ -674,7 +674,7 @@ p_gcd(Term t1, Term t2)
|
|||||||
Int i1 = IntegerOfTerm(t1), i2 = IntegerOfTerm(t2);
|
Int i1 = IntegerOfTerm(t1), i2 = IntegerOfTerm(t2);
|
||||||
i1 = (i1 >= 0 ? i1 : -i1);
|
i1 = (i1 >= 0 ? i1 : -i1);
|
||||||
i2 = (i2 >= 0 ? i2 : -i2);
|
i2 = (i2 >= 0 ? i2 : -i2);
|
||||||
|
|
||||||
RINT(gcd(i1,i2));
|
RINT(gcd(i1,i2));
|
||||||
}
|
}
|
||||||
case double_e:
|
case double_e:
|
||||||
@ -965,7 +965,6 @@ static InitBinEntry InitBinTab[] = {
|
|||||||
{"\\/", op_or},
|
{"\\/", op_or},
|
||||||
{"#", op_xor},
|
{"#", op_xor},
|
||||||
{"><", op_xor},
|
{"><", op_xor},
|
||||||
{"atan", op_atan2},
|
|
||||||
{"atan2", op_atan2},
|
{"atan2", op_atan2},
|
||||||
/* C-Prolog exponentiation */
|
/* C-Prolog exponentiation */
|
||||||
{"^", op_power},
|
{"^", op_power},
|
||||||
|
@ -17,7 +17,11 @@
|
|||||||
|
|
||||||
<h2>Yap-6.0.7:</h2>
|
<h2>Yap-6.0.7:</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li> FIXED: nothing yet.</li>
|
<li> DELETE: atan/2 arithmetic function, use atan2/2 instead (WG17).</li>
|
||||||
|
<li> FIXED: compilation in Solaris was broken because of conflict in
|
||||||
|
declaration of gethostname.</li>
|
||||||
|
<li> FIXED: acyclic_term/1 is now built-in (WG17).</li>
|
||||||
|
<li> NEW: subsumes_term/2 (WG17).</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>Yap-6.0.6:</h2>
|
<h2>Yap-6.0.6:</h2>
|
||||||
|
@ -3932,11 +3932,8 @@ Arc cosine.
|
|||||||
@item atan(@var{X}) [ISO]
|
@item atan(@var{X}) [ISO]
|
||||||
Arc tangent.
|
Arc tangent.
|
||||||
|
|
||||||
@item atan(@var{X},@var{Y})
|
|
||||||
Four-quadrant arc tangent.
|
|
||||||
|
|
||||||
@item atan2(@var{X},@var{Y})
|
@item atan2(@var{X},@var{Y})
|
||||||
Four-quadrant arc tangent, same as atan/2.
|
Four-quadrant arc tangent.
|
||||||
|
|
||||||
@item sinh(@var{X})
|
@item sinh(@var{X})
|
||||||
Hyperbolic sine.
|
Hyperbolic sine.
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
#if HAS_GETHOSTNAME
|
#if HAS_GETHOSTNAME||HAVE_GETHOSTNAME
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user