Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021
Power
Logic name
Power
Function
This logic raises the input numerical value to the power of the specified value.
Data type
|
Location |
Type |
|---|---|
|
First input handler |
Numeric |
|
Second input handler |
Numeric (exponent) |
|
Logic output |
Numeric |
Property
|
Category |
Property |
Description |
|---|---|---|
|
Comment |
Comment |
It does not affect the conversion processing. |
Notes
-
The type of the value of the first input handler and the type of the value of the second input handler must be the same.
<Available combinations for operation>
First input handler: Integer
Second input handler: IntegerFirst input handler: Floating point
Second input handler: Floating point -
Because the internal calculation is performed using floating point type, the resulting value may be calculated in error (cancelation of significant digits or loss of trailing digits).
Example of logic use
Mapping definition
Logic settings and processing result
This logic raises the input data to the power of the specified value and outputs it.
Property settings
|
Property |
Setting Value |
|---|---|
|
None |
Input data
|
3,4 |
Output data
|
81 |
Official | HULFT IoT EdgeStreaming Mapper Reference First Edition: July 1, 2021