Search results

pow :: Number -> Number -> Number

Return the first argument exponentiated to the power of the second argument.

P purescript-math M Math
pow :: Int -> Int -> Int

Raise an Int to the power of another Int.

P purescript-integers M Data.Int
pow :: UInt -> UInt -> UInt

Raises the first argument to the power of the second argument (the exponent).

> pow (fromInt 2) (fromInt 3)
8u
P purescript-uint M Data.UInt
pow :: BigInt -> BigInt -> BigInt

Exponentiation for BigInt. If the exponent is less than 0, pow returns 0. Also, pow zero zero == one.

P purescript-bigints M Data.BigInt
pow :: HugeNum -> Int -> HugeNum

Raise a HugeNum to an integer power.

P purescript-precise M Data.HugeNum
pow :: BigNumber -> BigNumber -> BigNumber
P purescript-bignumber M Data.BigNumber
pow :: Decimal -> Decimal -> Decimal

Exponentiation for Decimal.

P purescript-decimals M Data.Decimal
pow :: Int53 -> Int53 -> Int53

Raises the first argument to the power of the second argument (the exponent).

If the exponent is less than 0, then pow returns 0.

pow (fromInt 2) (fromInt 3) == (fromInt 8)
pow (fromInt 2) (fromInt 0) == (fromInt 1)
pow (fromInt 0) (fromInt 0) == (fromInt 1)
pow (fromInt 2) (fromInt (-2)) == (fromInt 0)
P purescript-int-53 M Data.Int53
pow :: BigNumber -> Int -> BigNumber

Exponentiate a BigNumber

P purescript-eth-core M Network.Ethereum.Core.BigNumber
pow :: BigInt -> BigInt -> BigInt
P purescript-big-integer M Data.Int.Big
pow :: Quantity -> Decimal -> Quantity

Raise a quantity to a given power.

P purescript-quantities M Data.Quantity
Pow :: BinaryOperator
P purescript-sql-squared M SqlSquared.Signature.BinaryOperator
power :: forall m. Monoid m => m -> Int -> m

Append a value to itself a certain number of times. For the Multiplicative type, and for a non-negative power, this is the same as normal number exponentiation.

If the second argument is negative this function will return mempty (unlike normal number exponentiation). The Monoid constraint alone is not enough to write a power function with the property that power x n cancels with power x (-n), i.e. power x n <> power x (-n) = mempty. For that, we would additionally need the ability to invert elements, i.e. a Group.

P purescript-prelude M Data.Monoid
power :: forall m. Monoid m => m -> Int -> m

Append a value to itself a certain number of times. For the Multiplicative type, and for a non-negative power, this is the same as normal number exponentiation.

If the second argument is negative this function will return mempty (unlike normal number exponentiation). The Monoid constraint alone is not enough to write a power function with the property that power x n cancels with power x (-n), i.e. power x n <> power x (-n) = mempty. For that, we would additionally need the ability to invert elements, i.e. a Group.

P purescript-monoid M Data.Monoid
power :: forall g. Group g => g -> Int -> g

Append a value (or its inverse) to itself a certain number of times.

For the Additive Int type, this is the same as multiplication.

P purescript-group M Data.Group
power :: Icons
P purescript-materialize M Materialize.Icons.Data
power :: forall a. HasPower a => a -> a -> a
P purescript-neon M Neon.Class.HasPower
power :: DerivedUnit -> Number -> DerivedUnit

Raise a unit to the given power.

P purescript-quantities M Data.Units
power :: PowerBank -> Int
P purescript-screeps-classy M Screeps.PowerBank
power :: PowerSpawn -> Int
P purescript-screeps-classy M Screeps.PowerSpawn
P purescript-screeps-classy M Screeps.PowerBank
powderblue :: Color
P purescript-colors M Color.Scheme.X11
powderblue :: Color
P purescript-reactnative M ReactNative.PropTypes.Color
powerInput :: Icons
P purescript-materialize M Materialize.Icons.Data
P purescript-d3 M Graphics.D3.Scale
powerScale :: forall r. D3Eff (PowerScale Number r)
P purescript-d3 M Graphics.D3.Scale
P purescript-screeps-classy M Screeps.PowerSpawn
powerCapacity :: PowerSpawn -> Int
P purescript-screeps-classy M Screeps.PowerSpawn
P purescript-screeps-classy M Screeps.PowerBank
power_bank_hits :: Int
P purescript-screeps-classy M Screeps.Constants
P purescript-screeps-classy M Screeps.PowerSpawn
powerAssociative :: forall a. Eq a => (a -> a -> a) -> a -> Boolean

A magma M is power-associative if the subalgebra generated by any element is associative.

∀ m n. m,n ∈ ℤ+ x^m • x^n = x^(m + n) where x^m • x^n is defined recursively via x^1 = x, x^(n + 1) = x^n • x

P purescript-properties M Control.Algebra.Properties
powerAssociative :: forall a. Eq a => (a -> a -> a) -> a -> Boolean

A magma M is power-associative if the subalgebra generated by any element is associative.

∀ m n. m,n ∈ ℤ+ x^m • x^n = x^(m + n) where x^m • x^n is defined recursively via x^1 = x, x^(n + 1) = x^n • x

P purescript-colehaus-properties M Control.Algebra.Properties
power_bank_decay :: Int
P purescript-screeps-classy M Screeps.Constants
power_spawn_hits :: Int
P purescript-screeps-classy M Screeps.Constants
powerSettingsNew :: Icons
P purescript-materialize M Materialize.Icons.Data
power_bank_hit_back :: Number
P purescript-screeps-classy M Screeps.Constants
power_bank_capacity_max :: Int
P purescript-screeps-classy M Screeps.Constants
power_bank_capacity_min :: Int
P purescript-screeps-classy M Screeps.Constants
power_bank_capacity_crit :: Number
P purescript-screeps-classy M Screeps.Constants
power_spawn_energy_ratio :: Int
P purescript-screeps-classy M Screeps.Constants
power_spawn_power_capacity :: Int
P purescript-screeps-classy M Screeps.Constants
power_spawn_energy_capacity :: Int
P purescript-screeps-classy M Screeps.Constants

No further results.