docs + EVAL_H
This commit is contained in:
parent
52b282442f
commit
ebc73ec01e
14
H/eval.h
14
H/eval.h
@ -17,6 +17,8 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
||||||
|
@file eval.h
|
||||||
|
|
||||||
@defgroup arithmetic Arithmetic in YAP
|
@defgroup arithmetic Arithmetic in YAP
|
||||||
|
|
||||||
@ingroup builtins
|
@ingroup builtins
|
||||||
@ -27,8 +29,6 @@
|
|||||||
|
|
||||||
+ See @ref arithmetic_operators for what arithmetic operations are supported in YAP
|
+ See @ref arithmetic_operators for what arithmetic operations are supported in YAP
|
||||||
|
|
||||||
@tableofcontents
|
|
||||||
|
|
||||||
YAP supports several different numeric types:
|
YAP supports several different numeric types:
|
||||||
<ul>
|
<ul>
|
||||||
<li><b>Tagged integers</b><p>
|
<li><b>Tagged integers</b><p>
|
||||||
@ -93,14 +93,20 @@ exceptions:
|
|||||||
@exception "evaluation_error(undefined( V ), Call)" result is not defined (nan)
|
@exception "evaluation_error(undefined( V ), Call)" result is not defined (nan)
|
||||||
@exception "evaluation_error(overflow( V ), Call)" result is arithmetic overflow
|
@exception "evaluation_error(overflow( V ), Call)" result is arithmetic overflow
|
||||||
|
|
||||||
|
@tableofcontents
|
||||||
|
|
||||||
@secreflist
|
@secreflist
|
||||||
@refitem is/2
|
@refitem is/2
|
||||||
@refitem isnan/1
|
@refitem isnan/1
|
||||||
@endsecreflist
|
@endsecreflist
|
||||||
|
|
||||||
|
@{
|
||||||
|
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
#ifndef EVAL_H
|
||||||
|
#define EVAL_H 1
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
/* C library used to implement floating point functions */
|
/* C library used to implement floating point functions */
|
||||||
@ -682,3 +688,7 @@ p_plus(Term t1, Term t2 USES_REGS) {
|
|||||||
#ifndef DBL_EPSILON /* normal for IEEE 64-bit double */
|
#ifndef DBL_EPSILON /* normal for IEEE 64-bit double */
|
||||||
#define DBL_EPSILON 0.00000000000000022204
|
#define DBL_EPSILON 0.00000000000000022204
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/// @}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user