Module

x/simplestatistics/index.js>sign

simple statistics for node & browser javascript
Latest
function sign
import { sign } from "https://dotland.deno.dev/x/simplestatistics@v7.8.3/index.js";

Sign is a function that extracts the sign of a real number

Examples

sign(2); // => 1

Parameters

x

input value