mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
40 lines
872 B
PHP
40 lines
872 B
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.1
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://orange-management.com
|
|
*/
|
|
declare(strict_types = 1);
|
|
|
|
namespace phpOMS\Math\Number;
|
|
|
|
use phpOMS\Stdlib\Base\Enum;
|
|
|
|
/**
|
|
* Number type enum.
|
|
*
|
|
* @category Framework
|
|
* @package Utils
|
|
* @license OMS License 1.0
|
|
* @link http://orange-management.com
|
|
* @since 1.0.0
|
|
*/
|
|
abstract class NumberType extends Enum
|
|
{
|
|
/* public */ const N_INTEGER = 0;
|
|
/* public */ const N_NATURAL = 1;
|
|
/* public */ const N_EVEN = 2;
|
|
/* public */ const N_UNEVEN = 4;
|
|
/* public */ const N_PRIME = 8;
|
|
/* public */ const N_REAL = 16;
|
|
/* public */ const N_RATIONAL = 32;
|
|
/* public */ const N_IRRATIONAL = 64;
|
|
/* public */ const N_COMPLEX = 128;
|
|
} |