Overview

Namespaces

  • chippyash
    • Type
      • Exceptions
      • Interfaces
      • Number
        • Complex
        • Rational
      • String

Classes

  • FloatType
  • GMPIntType
  • IntType
  • NaturalIntType
  • WholeIntType
  • Overview
  • Namespace
  • Class
  • Tree

Class NaturalIntType

Natural Integer Type

chippyash\Type\AbstractType implements chippyash\Type\Interfaces\TypeInterface
Extended by chippyash\Type\Number\IntType implements chippyash\Type\Interfaces\NumericTypeInterface
Extended by chippyash\Type\Number\NaturalIntType
Namespace: chippyash\Type\Number
Located at Number/NaturalIntType.php
Methods summary
public chippyash\Type\Number\IntType
# negate( )

Negates the number

Negates the number

Returns

chippyash\Type\Number\IntType
Fluent Interface

Throws

BadMethodCallException
\BadMethodCallException

Overrides

chippyash\Type\Number\IntType::negate()
Methods inherited from chippyash\Type\Number\IntType
abs(), asComplex(), asFloatType(), asIntType(), asRational(), factors(), primeFactors()
Methods inherited from chippyash\Type\AbstractType
__construct(), __invoke(), __toString(), get(), set()
Chippyash Strong Types API documentation generated by ApiGen 2.8.0