{"id":20225546,"url":"https://github.com/purescript/purescript-numbers","last_synced_at":"2026-03-04T21:33:08.354Z","repository":{"id":41828090,"uuid":"66401393","full_name":"purescript/purescript-numbers","owner":"purescript","description":"Functions for working with PureScripts 'Number' type","archived":false,"fork":false,"pushed_at":"2023-10-08T20:14:36.000Z","size":42,"stargazers_count":13,"open_issues_count":7,"forks_count":17,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-03-01T07:36:31.781Z","etag":null,"topics":["equality-check","floating-point","numerics","parsing","purescript"],"latest_commit_sha":null,"homepage":"https://pursuit.purescript.org/packages/purescript-numbers/","language":"PureScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purescript.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-08-23T20:36:50.000Z","updated_at":"2024-05-31T16:25:03.000Z","dependencies_parsed_at":"2023-12-19T03:03:57.735Z","dependency_job_id":"5da34e4a-4dc7-4f5d-a053-dd986269738f","html_url":"https://github.com/purescript/purescript-numbers","commit_stats":{"total_commits":51,"total_committers":10,"mean_commits":5.1,"dds":0.5686274509803921,"last_synced_commit":"27d54effdd2c0e7a86fe356b1cd813dca5981c2d"},"previous_names":["sharkdp/purescript-numbers"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/purescript/purescript-numbers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript%2Fpurescript-numbers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript%2Fpurescript-numbers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript%2Fpurescript-numbers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript%2Fpurescript-numbers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purescript","download_url":"https://codeload.github.com/purescript/purescript-numbers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript%2Fpurescript-numbers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30093885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T20:42:30.420Z","status":"ssl_error","status_checked_at":"2026-03-04T20:42:30.057Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["equality-check","floating-point","numerics","parsing","purescript"],"created_at":"2024-11-14T07:13:24.412Z","updated_at":"2026-03-04T21:33:08.321Z","avatar_url":"https://github.com/purescript.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# purescript-numbers\n\n[![Latest release](http://img.shields.io/github/release/purescript/purescript-numbers.svg)](https://github.com/purescript/purescript-numbers/releases)\n[![Build status](https://github.com/purescript/purescript-numbers/workflows/CI/badge.svg?branch=master)](https://github.com/purescript/purescript-numbers/actions?query=workflow%3ACI+branch%3Amaster)\n[![Pursuit](https://pursuit.purescript.org/packages/purescript-numbers/badge)](https://pursuit.purescript.org/packages/purescript-numbers)\n\nUtility functions for working with PureScripts builtin `Number` type.\n\n## Installation\n\n```\nspago install numbers\n```\n\n## Scope\n\n* Parsing with `fromString`\n* Formating with `toStringWith`, see `Data.Number.Format`\n* Approximate comparisions with `≅`, see `Data.Number.Approximate`\n* Not-a-number and infinite value detection with `isNaN` and `isFinite`\n* Remainder with `%`\n* Trignometric functions with `sin`, `cos`, `tan`, `asin`, `acos`, `atan`, and\n  `atan2`\n* Natural logarithm and exponents with `log` and `exp`\n* Powers with `sqrt` and `pow`\n* Rounding with `ceil`, `floor`, `round`, and `trunc`\n* Numeric minimum and maximum with `min` and `max`, which behave differently to\n  the versions in `Data.Ord` on values of `NaN`\n* Sign and absolute value functions `sign` and `abs`\n* Numeric constants `e`, `ln 2`, `ln10`, `log10e`, `log2e`, `pi`, `sqrt1_2`,\n  `sqrt2`, and `tau`\n\n## Documentation\n\nModule documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-numbers).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurescript%2Fpurescript-numbers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurescript%2Fpurescript-numbers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurescript%2Fpurescript-numbers/lists"}