Comparison

Section: !=, (operators)
Updated: -
Index Return to Main Contents

 6 "IRIT Version 6.0"   

NAME

Comparison operators - ==, !=, <, >, <=, >=

The conditional comparison operators can be applied to the following domains (o for a comparison operator):


  NumericType o NumericType -> NumericType
  StringType  o StringType  -> NumericType
  PointType   o PointType   -> NumericType
  VectorType  o VectorType  -> NumericType
  PlaneType   o PlaneType   -> NumericType

The returned NumericType is non-zero if the condition holds, or zero if not. For PointTypes, VectorTypes, and PlaneTypes, only == and != comparisons are valid. This is either the same or different. For NumericTypes and StringTypes (uses strcmp) all comparisons are valid.


 

Index

NAME

This document was created by man2html, using the manual pages.
Time: 07:28:37 GMT, July 20, 2024