Socket
Book a DemoInstallSign in
Socket

@stdlib/math-base-special-abs

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/math-base-special-abs

Compute the absolute value of a double-precision floating-point number.

latest
Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
335K
-20.8%
Maintainers
4
Weekly downloads
 
Created

What is @stdlib/math-base-special-abs?

@stdlib/math-base-special-abs is a package that provides a function to compute the absolute value of a number. It is part of the larger @stdlib library, which offers a wide range of mathematical and statistical functions.

What are @stdlib/math-base-special-abs's main functionalities?

Compute Absolute Value

This feature allows you to compute the absolute value of a number. The function takes a single numeric input and returns its absolute value.

const abs = require('@stdlib/math-base-special-abs');

console.log(abs(-5)); // 5
console.log(abs(3.14)); // 3.14
console.log(abs(0)); // 0

Other packages similar to @stdlib/math-base-special-abs

Keywords

stdlib

FAQs

Package last updated on 28 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts