Computes the base e natural logarithm of a specified input value.
If x is 0, ln is - . If x is not complex and is less than 0, ln is not a number (NaN).
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.
Computing ln(x) When x is Outside the Valid Range
Complete the following steps to compute ln( x) when x is outside the range [1/e, 1):
NI recommends a binary shift to transform x into M because this operation requires fewer FPGA resources than a division operation.
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.|
Natural logarithm of x. If x is outside the range [1/e, 1), ln(x) is undefined.
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||This node has not computed a result that downstream nodes can use. Any data output returns an undefined value. The undefined value returned by a data output may differ between simulation and hardware.|
A Boolean that indicates whether this node is ready to accept new input data. Use a Feedback Node to wire this output to the ready for output input of an upstream node.
|True||The node is ready to accept new input data.|
|False||The node is not ready to accept new input data.|
Where This Node Can Run:
Desktop OS: none
FPGA: All devices
Web Server: Not supported in VIs that run in a web application