ISO-patch, thanks to Ulrich Neumerkel.
This commit is contained in:
		
							
								
								
									
										45
									
								
								docs/yap.tex
									
									
									
									
									
								
							
							
						
						
									
										45
									
								
								docs/yap.tex
									
									
									
									
									
								
							@@ -8,7 +8,7 @@
 | 
				
			|||||||
@c @setchapternewpage odd
 | 
					@c @setchapternewpage odd
 | 
				
			||||||
@c %**end of header
 | 
					@c %**end of header
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@set VERSION 6.3.0
 | 
					@set VERSION 6.3.2
 | 
				
			||||||
@set EDITION 4.2.9
 | 
					@set EDITION 4.2.9
 | 
				
			||||||
@set UPDATED Oct 2010
 | 
					@set UPDATED Oct 2010
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -2641,7 +2641,7 @@ Succeeds once.
 | 
				
			|||||||
@cyindex fail/0
 | 
					@cyindex fail/0
 | 
				
			||||||
Fails always.
 | 
					Fails always.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item false
 | 
					@item false [ISO]
 | 
				
			||||||
@findex false/0
 | 
					@findex false/0
 | 
				
			||||||
@syindex false/0
 | 
					@syindex false/0
 | 
				
			||||||
@cnindex false/0
 | 
					@cnindex false/0
 | 
				
			||||||
@@ -2807,7 +2807,7 @@ instead of the call to @code{call/1}, except that any "cut" occurring in
 | 
				
			|||||||
@cnindex incore/1
 | 
					@cnindex incore/1
 | 
				
			||||||
The same as @code{call/1}.
 | 
					The same as @code{call/1}.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item call(+@var{Closure},...,?@var{Ai},...)
 | 
					@item call(+@var{Closure},...,?@var{Ai},...) [ISO]
 | 
				
			||||||
@findex call/n
 | 
					@findex call/n
 | 
				
			||||||
@snindex call/n
 | 
					@snindex call/n
 | 
				
			||||||
@cnindex call/n
 | 
					@cnindex call/n
 | 
				
			||||||
@@ -3317,7 +3317,7 @@ Checks whether @var{T} is an atomic term or a database reference.
 | 
				
			|||||||
@cnindex simple/1
 | 
					@cnindex simple/1
 | 
				
			||||||
Checks whether @var{T} is unbound, an atom, or a number.
 | 
					Checks whether @var{T} is unbound, an atom, or a number.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item callable(@var{T})
 | 
					@item callable(@var{T}) [ISO]
 | 
				
			||||||
@findex callable/1
 | 
					@findex callable/1
 | 
				
			||||||
@syindex callable/1
 | 
					@syindex callable/1
 | 
				
			||||||
@cnindex callable/1
 | 
					@cnindex callable/1
 | 
				
			||||||
@@ -3337,7 +3337,7 @@ Instantiates each variable in term @var{T} to a term of the form:
 | 
				
			|||||||
@cnindex unnumbervars/2
 | 
					@cnindex unnumbervars/2
 | 
				
			||||||
Replace every @code{'$VAR'(@var{I})} by a free variable.
 | 
					Replace every @code{'$VAR'(@var{I})} by a free variable.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item ground(@var{T})
 | 
					@item ground(@var{T}) [ISO]
 | 
				
			||||||
@findex ground/1
 | 
					@findex ground/1
 | 
				
			||||||
@syindex ground/1
 | 
					@syindex ground/1
 | 
				
			||||||
@cnindex ground/1
 | 
					@cnindex ground/1
 | 
				
			||||||
@@ -3479,13 +3479,13 @@ Succeed if @var{Subsumer} unifies with the least general
 | 
				
			|||||||
generalization over @var{T1} and
 | 
					generalization over @var{T1} and
 | 
				
			||||||
@var{T2}.
 | 
					@var{T2}.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item acyclic_term(?@var{Term})
 | 
					@item acyclic_term(?@var{Term}) [ISO]
 | 
				
			||||||
@findex cyclic_term/1
 | 
					@findex cyclic_term/1
 | 
				
			||||||
@syindex cyclic_term/1
 | 
					@syindex cyclic_term/1
 | 
				
			||||||
@cnindex cyclic_term/1
 | 
					@cnindex cyclic_term/1
 | 
				
			||||||
Succeed if the argument @var{Term} is an acyclic term.
 | 
					Succeed if the argument @var{Term} is an acyclic term.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item term_variables(?@var{Term}, -@var{Variables})
 | 
					@item term_variables(?@var{Term}, -@var{Variables}) [ISO]
 | 
				
			||||||
@findex  term_variables/2
 | 
					@findex  term_variables/2
 | 
				
			||||||
@syindex term_variables/2
 | 
					@syindex term_variables/2
 | 
				
			||||||
@cnindex term_variables/2
 | 
					@cnindex term_variables/2
 | 
				
			||||||
@@ -3836,7 +3836,7 @@ left-to-right order.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
@table @code
 | 
					@table @code
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item compare(@var{C},@var{X},@var{Y})
 | 
					@item compare(@var{C},@var{X},@var{Y}) [ISO]
 | 
				
			||||||
@findex compare/3
 | 
					@findex compare/3
 | 
				
			||||||
@syindex compare/3
 | 
					@syindex compare/3
 | 
				
			||||||
@cyindex compare/3
 | 
					@cyindex compare/3
 | 
				
			||||||
@@ -3913,14 +3913,14 @@ Term @var{X} follows term @var{Y} in the standard order.
 | 
				
			|||||||
@cyindex @@>=/2
 | 
					@cyindex @@>=/2
 | 
				
			||||||
Term @var{X} does not precede term @var{Y} in the standard order.
 | 
					Term @var{X} does not precede term @var{Y} in the standard order.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item sort(+@var{L},-@var{S})
 | 
					@item sort(+@var{L},-@var{S}) [ISO]
 | 
				
			||||||
@findex sort/2
 | 
					@findex sort/2
 | 
				
			||||||
@syindex sort/2
 | 
					@syindex sort/2
 | 
				
			||||||
@cyindex sort/2
 | 
					@cyindex sort/2
 | 
				
			||||||
Unifies @var{S} with the list obtained by sorting @var{L} and  merging
 | 
					Unifies @var{S} with the list obtained by sorting @var{L} and  merging
 | 
				
			||||||
identical (in the sense of @code{==}) elements.
 | 
					identical (in the sense of @code{==}) elements.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item keysort(+@var{L},@var{S})
 | 
					@item keysort(+@var{L},@var{S}) [ISO]
 | 
				
			||||||
@findex keysort/2
 | 
					@findex keysort/2
 | 
				
			||||||
@syindex keysort/2
 | 
					@syindex keysort/2
 | 
				
			||||||
@cyindex keysort/2
 | 
					@cyindex keysort/2
 | 
				
			||||||
@@ -4006,7 +4006,7 @@ Arithmetic expressions in YAP may use the following operators or
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
@table @code
 | 
					@table @code
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item +@var{X}
 | 
					@item +@var{X} [ISO]
 | 
				
			||||||
The value of @var{X} itself.
 | 
					The value of @var{X} itself.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item -@var{X} [ISO]
 | 
					@item -@var{X} [ISO]
 | 
				
			||||||
@@ -4056,13 +4056,13 @@ Sine.
 | 
				
			|||||||
@item cos(@var{X}) [ISO]
 | 
					@item cos(@var{X}) [ISO]
 | 
				
			||||||
Cosine.
 | 
					Cosine.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item tan(@var{X})
 | 
					@item tan(@var{X}) [ISO]
 | 
				
			||||||
Tangent.
 | 
					Tangent.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item asin(@var{X})
 | 
					@item asin(@var{X}) [ISO]
 | 
				
			||||||
Arc sine.
 | 
					Arc sine.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item acos(@var{X})
 | 
					@item acos(@var{X}) [ISO]
 | 
				
			||||||
Arc cosine.
 | 
					Arc cosine.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item atan(@var{X}) [ISO]
 | 
					@item atan(@var{X}) [ISO]
 | 
				
			||||||
@@ -4071,6 +4071,9 @@ Arc tangent.
 | 
				
			|||||||
@item atan(@var{X},@var{Y})
 | 
					@item atan(@var{X},@var{Y})
 | 
				
			||||||
Four-quadrant arc tangent. Also available as @code{atan2/2}.
 | 
					Four-quadrant arc tangent. Also available as @code{atan2/2}.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@item atan2(@var{X},@var{Y}) [ISO]
 | 
				
			||||||
 | 
					Four-quadrant arc tangent.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item sinh(@var{X})
 | 
					@item sinh(@var{X})
 | 
				
			||||||
Hyperbolic sine.
 | 
					Hyperbolic sine.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -4192,13 +4195,13 @@ A = 1 rdiv 10
 | 
				
			|||||||
@end example
 | 
					@end example
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item max(@var{X},@var{Y})
 | 
					@item max(@var{X},@var{Y}) [ISO]
 | 
				
			||||||
The greater value of @var{X} and @var{Y}.
 | 
					The greater value of @var{X} and @var{Y}.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item min(@var{X},@var{Y})
 | 
					@item min(@var{X},@var{Y}) [ISO]
 | 
				
			||||||
The lesser value of @var{X} and @var{Y}.
 | 
					The lesser value of @var{X} and @var{Y}.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item @var{X} ^ @var{Y}
 | 
					@item @var{X} ^ @var{Y} [ISO]
 | 
				
			||||||
@var{X} raised to the power of @var{Y}, (from the C-Prolog syntax).
 | 
					@var{X} raised to the power of @var{Y}, (from the C-Prolog syntax).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item exp(@var{X},@var{Y})
 | 
					@item exp(@var{X},@var{Y})
 | 
				
			||||||
@@ -4215,7 +4218,7 @@ Integer bitwise disjunction.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
@item @var{X} # @var{Y}
 | 
					@item @var{X} # @var{Y}
 | 
				
			||||||
@item @var{X} >< @var{Y}
 | 
					@item @var{X} >< @var{Y}
 | 
				
			||||||
@item xor(@var{X} , @var{Y})
 | 
					@item xor(@var{X} , @var{Y}) [ISO]
 | 
				
			||||||
Integer bitwise exclusive disjunction.
 | 
					Integer bitwise exclusive disjunction.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item @var{X} << @var{Y}
 | 
					@item @var{X} << @var{Y}
 | 
				
			||||||
@@ -4264,7 +4267,7 @@ Besides numbers and the arithmetic operators described above, certain
 | 
				
			|||||||
atoms have a special meaning when present in arithmetic expressions:
 | 
					atoms have a special meaning when present in arithmetic expressions:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@table @code
 | 
					@table @code
 | 
				
			||||||
@item pi
 | 
					@item pi [ISO]
 | 
				
			||||||
The value of @emph{pi}, the ratio of a circle's circumference to its
 | 
					The value of @emph{pi}, the ratio of a circle's circumference to its
 | 
				
			||||||
diameter.
 | 
					diameter.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -6139,7 +6142,7 @@ predicate may also be used for the static predicates that have been
 | 
				
			|||||||
compiled when the source mode was @code{on}. For more information on
 | 
					compiled when the source mode was @code{on}. For more information on
 | 
				
			||||||
@code{source/0} (@pxref{Setting the Compiler}).
 | 
					@code{source/0} (@pxref{Setting the Compiler}).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item retractall(+@var{G})
 | 
					@item retractall(+@var{G}) [ISO]
 | 
				
			||||||
@findex retractall/1
 | 
					@findex retractall/1
 | 
				
			||||||
@saindex retractall/1
 | 
					@saindex retractall/1
 | 
				
			||||||
@cnindex retractall/1
 | 
					@cnindex retractall/1
 | 
				
			||||||
@@ -8142,7 +8145,7 @@ the @code{-L} flag.
 | 
				
			|||||||
@findex integer_rounding_function (yap_flag/2 option)
 | 
					@findex integer_rounding_function (yap_flag/2 option)
 | 
				
			||||||
@*
 | 
					@*
 | 
				
			||||||
Read-only flag telling the rounding function used for integers. Takes the value
 | 
					Read-only flag telling the rounding function used for integers. Takes the value
 | 
				
			||||||
@code{down} for the current version of YAP.
 | 
					@code{toward_zero} for the current version of YAP.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@item language
 | 
					@item language
 | 
				
			||||||
@findex language (yap_flag/2 option)
 | 
					@findex language (yap_flag/2 option)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user