Package-level declarations

Types

Link copied to clipboard
object ArithUtils
Link copied to clipboard
object BvUtils
Link copied to clipboard
open class DefaultValueSampler(val ctx: KContext) : KSortVisitor<KExpr<*>>
Link copied to clipboard
object FpUtils

Functions

Link copied to clipboard
fun <T : KSort> KExpr<*>.asExpr(sort: T): KExpr<T>
Link copied to clipboard
inline fun <T : Base, Base> Base.cast(): T
Link copied to clipboard

Extends the given 32-bits value to a new 64-bits one with zeroes.

Link copied to clipboard
fun Double.extractExponent(sort: KFpSort, isBiased: Boolean): Long

Extracts an exponent of the specific sort from the fp64 value.

fun Float.extractExponent(sort: KFpSort, isBiased: Boolean): Int

Extracts an exponent of the specific sort from the fp32 value.

Link copied to clipboard

Extracts a significand of the specific sort from a double value.

Extracts a significand of the specific sort from a float value.

Link copied to clipboard
fun Double.getExponent(isBiased: Boolean): Long
fun Float.getExponent(isBiased: Boolean): Int

Extracts an exponent from the float value. Depending on the isBiased it can be either biased or not.

Link copied to clipboard

Take an exponent from the float value. Depending on the isBiased is can be either shifted by KFp16Sort.exponentShiftSize or not.

Link copied to clipboard
inline operator fun <T : KSort> T.getValue(thisRef: Any?, property: KProperty<*>): KApp<T, *>
Link copied to clipboard
fun <T : KSort> T.mkConst(name: String): KApp<T, *>
Link copied to clipboard
Link copied to clipboard
fun <T : KSort> T.mkFreshConst(name: String): KApp<T, *>
Link copied to clipboard
Link copied to clipboard

Ensure that BigInteger value is suitable for representation of Bv with size bits.

Link copied to clipboard
Link copied to clipboard
fun <T : KSort> T.sampleValue(): KExpr<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <Base, T> Base.uncheckedCast(): T

Properties

Link copied to clipboard

Significand for Fp16 takes 10 bits from the float value: from 14 to 23 bits

Link copied to clipboard
Link copied to clipboard

Extracts a significand from the float value.

Extracts a significand from the float value.