Search
@stdlib/math-base-special-trunc
Round a double-precision floating-point number toward zero.
v0.2.2 URL:
https://unpkg.com/@stdlib/math-base-special-trunc@0.2.2/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.trunc
trunc
truncate
round
integer
number
special function
special
function
polyfill
ponyfill
@stdlib/math-strided-special-dtrunc
Round each element in a double-precision floating-point strided array toward zero.
v0.2.2 URL:
https://unpkg.com/@stdlib/math-strided-special-dtrunc@0.2.2/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.trunc
trunc
truncate
round
integer
nearest
value
number
double
dbl
float64
float64array
vector
array
strided
ndarray
element-wise
@stdlib/math-iter-special-trunc
Create an iterator which rounds each iterated value toward zero.
v0.2.2 URL:
https://unpkg.com/@stdlib/math-iter-special-trunc@0.2.2/lib/index.js
Open
Browse Files
stdlib
stdmath
math
math.trunc
truncate
trunc
round
integer
nearest
value
iterator
iterable
iterate
@stdlib/math-base-special-trunc10
Round a numeric value to the nearest power of 10 toward zero.
v0.3.0 URL:
https://unpkg.com/@stdlib/math-base-special-trunc10@0.3.0/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.trunc
truncate
trunc
trunc10
round
floor
ceil
nearest
number
@stdlib/math-base-special-truncsd
Round a numeric value to the nearest number toward zero with N significant figures.
v0.3.0 URL:
https://unpkg.com/@stdlib/math-base-special-truncsd@0.3.0/lib/index.js
Open
Browse Files
stdlib
stdmath
mathematics
math
math.trunc
trunc
round
significant
figures
sigfig
sigfigs
digits
measurement
science
nearest
number