Socket
Socket
Sign inDemoInstall

@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.


Version published
Maintainers
4
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

FAQs

Package last updated on 16 Feb 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc