YAP 7.1.0
arith1.c File Reference
#include "Yap.h"
#include "Yatom.h"
#include "YapHeap.h"
#include "YapEval.h"

Go to the source code of this file.

Macros

#define RBIG_FL(v)   return(float_to_int(v PASS_REGS))
 
#define asinh(F)   (log((F)+sqrt((F)*(F)+1)))
 
#define acosh(F)   (log((F)+sqrt((F)*(F)-1)))
 
#define atanh(F)   (log((1+(F))/(1-(F)))/2)
 

Typedefs

typedef struct init_un_eval InitUnEntry
 

Functions

Int Yap_msb (Int inp USES_REGS)
 
Term Yap_eval_unary (Int f, Term t)
 
Atom Yap_NameOfUnaryOp (int i)
 
void Yap_InitUnaryExps (void)
 
int Yap_ReInitUnaryExps (void)
 

Macro Definition Documentation

◆ acosh

#define acosh (   F)    (log((F)+sqrt((F)*(F)-1)))

Definition at line 284 of file arith1.c.

◆ asinh

#define asinh (   F)    (log((F)+sqrt((F)*(F)+1)))

Definition at line 281 of file arith1.c.

◆ atanh

#define atanh (   F)    (log((1+(F))/(1-(F)))/2)

Definition at line 287 of file arith1.c.

◆ RBIG_FL

#define RBIG_FL (   v)    return(float_to_int(v PASS_REGS))

Definition at line 264 of file arith1.c.

Function Documentation

◆ Yap_eval_unary()

Term Yap_eval_unary ( Int  f,
Term  t 
)

Definition at line 916 of file arith1.c.

◆ Yap_InitUnaryExps()

void Yap_InitUnaryExps ( void  )

Definition at line 1044 of file arith1.c.

◆ Yap_msb()

Int Yap_msb ( Int inp  USES_REGS)

Definition at line 366 of file arith1.c.

◆ Yap_NameOfUnaryOp()

Atom Yap_NameOfUnaryOp ( int  i)

Definition at line 964 of file arith1.c.

◆ Yap_ReInitUnaryExps()

int Yap_ReInitUnaryExps ( void  )

Definition at line 1073 of file arith1.c.