Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

4


Type Conversion Functions

Before you can compare an integer to a floating-point number, you must convert both numbers to the same type. The type conversion functions helps in converting both numbers to the same type (that is, integer or float).

Any two numbers can only be equal if they are of the same type (either integer or float) and have identical values. Two floating-point numbers can appear the same when printed while differing internally in their least significant bits.

The following is a list of type conversion functions.

charToInt

intToChar

listToVector

stringToFunction

stringToSymbol

stringToTime

symbolToString

tableToList

timeToString

timeToTm

tmToTime

vectorToList


Return to top
 ⠀
X