Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stdlib/math-base-special-abs

Package Overview
Dependencies
Maintainers
0
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.

  • 0.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
380K
decreased by-4.54%
Maintainers
0
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

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

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