'use strict';

// STDMATH //

var stdmath = {};

stdmath.base = {};

// Constants:
stdmath.PI = require( '@stdlib/math/base/constants/float64-pi' );
stdmath.TWO_PI = require( '@stdlib/math/base/constants/float64-two-pi' );
stdmath.E = require( '@stdlib/math/base/constants/float64-e' );
stdmath.EULERGAMMA = require( '@stdlib/math/base/constants/float64-eulergamma' );
stdmath.GLAISHER = require( '@stdlib/math/base/constants/float64-glaisher-kinkelin' );

stdmath.PINF = require( '@stdlib/math/base/constants/float64-pinf' );
stdmath.NINF = require( '@stdlib/math/base/constants/float64-ninf' );
stdmath.FLOAT32_PINF = require( '@stdlib/math/base/constants/float32-pinf' );
stdmath.FLOAT32_NINF = require( '@stdlib/math/base/constants/float32-ninf' );

stdmath.FLOAT16_PRECISION = require( '@stdlib/math/base/constants/float16-precision' );
stdmath.FLOAT32_PRECISION = require( '@stdlib/math/base/constants/float32-precision' );
stdmath.FLOAT64_PRECISION = require( '@stdlib/math/base/constants/float64-precision' );


// Special functions (base):
stdmath.base.round = require( '@stdlib/math/base/special/round' );
stdmath.base.floor = require( '@stdlib/math/base/special/floor' );
stdmath.base.ceil = require( '@stdlib/math/base/special/ceil' );
stdmath.base.ln = require( '@stdlib/math/base/special/ln' );


// EXPORTS //

module.exports = stdmath;

'use strict';

// MODULES //

var setReadOnly = require( '@stdlib/utils/define-read-only-property' );


// STDMATH //

var stdmath = {};

stdmath.base = {};

// Constants:
setReadOnly( stdmath, 'PI', require( '@stdlib/math/base/constants/float64-pi' ) );
setReadOnly( stdmath, 'TWO_PI', require( '@stdlib/math/base/constants/float64-two-pi' ) );
setReadOnly( stdmath, 'E', require( '@stdlib/math/base/constants/float64-e' ) );
setReadOnly( stdmath, 'EULERGAMMA', require( '@stdlib/math/base/constants/float64-eulergamma' ) );
setReadOnly( stdmath, 'GLAISHER', require( '@stdlib/math/base/constants/float64-glaisher-kinkelin' ) );

setReadOnly( stdmath, 'PINF', require( '@stdlib/math/base/constants/float64-pinf' ) );
setReadOnly( stdmath, 'NINF', require( '@stdlib/math/base/constants/float64-ninf' ) );
setReadOnly( stdmath, 'FLOAT32_PINF', require( '@stdlib/math/base/constants/float32-pinf' ) );
setReadOnly( stdmath, 'FLOAT32_NINF', require( '@stdlib/math/base/constants/float32-ninf' ) );

setReadOnly( stdmath, 'FLOAT16_PRECISION', require( '@stdlib/math/base/constants/float16-precision' ) );
setReadOnly( stdmath, 'FLOAT32_PRECISION', require( '@stdlib/math/base/constants/float32-precision' ) );
setReadOnly( stdmath, 'FLOAT64_PRECISION', require( '@stdlib/math/base/constants/float64-precision' ) );

// Special functions (base):
stdmath.base.round = require( '@stdlib/math/base/special/round' );
stdmath.base.floor = require( '@stdlib/math/base/special/floor' );
stdmath.base.ceil = require( '@stdlib/math/base/special/ceil' );
stdmath.base.ln = require( '@stdlib/math/base/special/ln' );


// EXPORTS //

module.exports = stdmath;

Make constants read-only props