Scroll to navigation

ISABLUNARYOPER(3) ABL FUNCTIONS ISABLUNARYOPER(3)

NAME

isablunaryoper - tests if an operator is unary.

ORIGIN

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.

Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr

SYNOPSYS

#include "abl101.h"
int isablunaryoper( Oper )

long Oper;

PARAMETERS

Operator number.

DESCRIPTION

isablunaryoper tests if Oper is unary.

RETURN VALUE

isablunaryoper returns 1 if Oper is unary, -1 if Oper is not a valid number, and 0 otherwise.

EXAMPLE

#include "abl101.h"

/* displays 0 1 */
printf( "%d ", isablunaryoper( ABL_OR ) );
printf( "%d0, isablunaryoper( ABL_NOT ) );

SEE ALSO

abl(1)

BUG REPORT

This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.

October 1, 1997 ASIM/LIP6