Computes the base e natural logarithm of a specified input value.

If x is 0, ln is - $\infty$. If x is not complex and is less than 0, ln is not a number (NaN).

## x

An input for this operation. x must be in the range [1/e, 1) and unsigned. The integer word length must be 0 bits.

This input supports only scalar values of the fixed-point data type.

## input valid

A Boolean that specifies whether the next data point has arrived for processing. Wire the output valid output of an upstream node to this input to transfer data from the upstream node to this node.

 TRUE The data point is valid and can be processed. FALSE The data point is not valid.

A Boolean that specifies whether downstream nodes are ready for this node to return a new value. Use a Feedback Node to wire the ready for input output of a downstream node to this input of the current node.

 TRUE The downstream node is ready for the next data point. FALSE The downstream node is not ready for the next data point. Note   If this terminal is FALSE during a given cycle, the output valid terminal returns FALSE during that cycle.

Default: TRUE

## ln(x)

Natural logarithm of x. If x is outside the range [1/e, 1), ln(x) is undefined.

## undefined

A Boolean that indicates whether ln(x) is undefined.

 TRUE ln(x) is undefined. FALSE ln(x) is not undefined.

## output valid

A Boolean that indicates whether this node has computed a result that downstream nodes can use. Wire this output to the input valid input of a downstream node to transfer data from the node to the downstream node.

 TRUE The node has computed a result that downstream nodes can use. FALSE The node has not computed a result that downstream nodes can use.