# Math.exp2 ## Function Binary exponent. Returns 2 raised to the power of value. ## Syntax ```bt Math.exp2(value) ``` ## Parameters | Parameters | Type | Required | Default value | Description | | ------ | ------ | ------ | ------ | ------ | | value | Number | Yes | None | Exponent. | ## Return value | Type | Description | | ------ | ------ | | Int/Float | Returns 2 raised to the power of value. An Int is returned for integer results, and a Float for non-integer or non-finite results. | ## Example ```bt result = Math.exp2(3) // Output: 8 print result ``` ## Notes - Integer results return Int.