template <typename Integer, size_t FractionalBits>

struct Expression

Defined at line 129 of file ../../zircon/system/ulib/ffl/include/ffl/expression.h

Specialization for immediate values in a particular format. This expression

node takes a single template argument for the format of the value to store.

Public Members

const Value<Format> value

Public Methods

void Expression<Operation::Value, FixedFormat<Integer, FractionalBits> > (Integer raw_value)

Constructs the expression node from a raw integer value already in the

fixed-point format specified by Format.

Defined at line 135 of file ../../zircon/system/ulib/ffl/include/ffl/expression.h

void Expression<Operation::Value, FixedFormat<Integer, FractionalBits> > (Fixed<Integer, FractionalBits> fixed)

Constructs the expression node from a Fixed instance of the same format.

Defined at line 138 of file ../../zircon/system/ulib/ffl/include/ffl/expression.h

template <typename TargetFormat>
auto Evaluate (TargetFormat )

Returns the underlying value. TargetFormat is ignored, conversion to the

final format is handled by the Fixed constructor or assignment operator.

Defined at line 145 of file ../../zircon/system/ulib/ffl/include/ffl/expression.h