#include "MoreMathLibrary.h"
Provides Blueprintable access to more math functions not included in or not exposed by Unreeal
◆ FloorLog10_Double()
DBN_FORCEINLINE int32 UMoreMathLibrary::FloorLog10_Double |
( |
double |
Number | ) |
|
|
staticFlavor:Blueprint |
Gets the integral floor of the base 10 logarithm of the number.
- Parameters
-
Number | The number for which to compute the logarithm |
- Returns
- The floor of the base 10 logarithm of the number
- Note
- This value is the number of decimal digits in the number minus one
-
Returns zero if number is not positive
- Implements Opcode:
- Flavor:Blueprint
I4 ← flog10 F8
◆ FloorLog10_Float()
DBN_FORCEINLINE int32 UMoreMathLibrary::FloorLog10_Float |
( |
float |
Number | ) |
|
|
staticFlavor:Blueprint |
Gets the integral floor of the base 10 logarithm of the number.
- Parameters
-
Number | The number for which to compute the logarithm |
- Returns
- The floor of the base 10 logarithm of the number
- Note
- This value is the number of decimal digits in the number minus one
-
Returns zero if number is not positive
- Implements Opcode:
- Flavor:Blueprint
I4 ← flog10 F4
◆ FloorLog10_Integer()
DBN_FORCEINLINE int32 UMoreMathLibrary::FloorLog10_Integer |
( |
int32 |
Number | ) |
|
|
staticFlavor:Blueprint |
Gets the integral floor of the base 10 logarithm of the number.
- Parameters
-
Number | The number for which to compute the logarithm |
- Returns
- The floor of the base 10 logarithm of the number
- Note
- This value is the number of decimal digits in the number minus one
-
Returns zero if number is not positive
- Implements Opcode:
- Flavor:Blueprint
I4 ← flog10 I4
◆ FloorLog10_Integer64()
DBN_FORCEINLINE int32 UMoreMathLibrary::FloorLog10_Integer64 |
( |
int64 |
Number | ) |
|
|
staticFlavor:Blueprint |
Gets the integral floor of the base 10 logarithm of the number.
- Parameters
-
Number | The number for which to compute the logarithm |
- Returns
- The floor of the base 10 logarithm of the number
- Note
- This value is the number of decimal digits in the number minus one
-
Returns zero if number is not positive
- Implements Opcode:
- Flavor:Blueprint
I4 ← flog10 I8
◆ FloorLog2_Double()
DBN_FORCEINLINE int32 UMoreMathLibrary::FloorLog2_Double |
( |
double |
Number | ) |
|
|
staticFlavor:Blueprint |
Gets the integral floor of the base 2 logarithm of the number.
- Parameters
-
Number | The number for which to compute the logarithm |
- Returns
- The floor of the base 2 logarithm of the number
- Note
- Returns zero if number is not positive
- Implements Opcode:
- Flavor:Blueprint
I4 ← flog2 F8
◆ FloorLog2_Float()
DBN_FORCEINLINE int32 UMoreMathLibrary::FloorLog2_Float |
( |
float |
Number | ) |
|
|
staticFlavor:Blueprint |
Gets the integral floor of the base 2 logarithm of the number.
- Parameters
-
Number | The number for which to compute the logarithm |
- Returns
- The floor of the base 2 logarithm of the number
- Note
- Returns zero if number is not positive
- Implements Opcode:
- Flavor:Blueprint
I4 ← flog2 F4
◆ Gcd_Integer64Integer64()
DBN_FORCEINLINE int64 UMoreMathLibrary::Gcd_Integer64Integer64 |
( |
int64 |
A, |
|
|
const int64 |
B |
|
) |
| |
|
staticFlavor:Blueprint |
Gets the greatest common divisor (GCD) between two numbers.
- Parameters
-
A | The number for which to calculate GCD |
B | The number for which to calculate GCD |
- Returns
- The greatest common divisor (GCD) between two numbers.
- Implements Opcode:
- Flavor:Blueprint
I8 ← gcd I8 I8
◆ Gcd_IntegerInteger()
DBN_FORCEINLINE int32 UMoreMathLibrary::Gcd_IntegerInteger |
( |
int32 |
A, |
|
|
const int32 |
B |
|
) |
| |
|
staticFlavor:Blueprint |
Gets the greatest common divisor (GCD) between two numbers.
- Parameters
-
A | The number for which to calculate GCD |
B | The number for which to calculate GCD |
- Returns
- The greatest common divisor (GCD) between two numbers.
- Implements Opcode:
- Flavor:Blueprint
I4 ← gcd I4 I4
- Note
- this forwards to Unreal's internal FMath::GreatestCommonDivisor() method, which is not exposed to blueprints as of UE5.1
◆ Pow10Int64_Int()
DBN_FORCEINLINE int64 UMoreMathLibrary::Pow10Int64_Int |
( |
int32 |
Exponent | ) |
|
|
staticFlavor:Blueprint |
Returns powers of 10 for the range possible in the destination type;
- Parameters
-
Exponent | The power of 10 to return |
- Returns
- The power of 10. if exponent less than zero, zero is returned. On overflow, max value is returned.
- Implements Opcode:
- Flavor:Blueprint
I8 ← pw10i8 I4
◆ Pow10Int_Int()
DBN_FORCEINLINE int32 UMoreMathLibrary::Pow10Int_Int |
( |
int32 |
Exponent | ) |
|
|
staticFlavor:Blueprint |
Returns powers of 10 for the range possible in the destination type;
- Parameters
-
Exponent | The power of 10 to return |
- Returns
- The power of 10. if exponent less than zero, zero is returned. On overflow, max value is returned.
- Implements Opcode:
- Flavor:Blueprint
I4 ← pw10i4 I4
The documentation for this class was generated from the following files: