{"id":23041396,"url":"https://github.com/giocip/n7","last_synced_at":"2026-03-05T20:21:31.275Z","repository":{"id":259205495,"uuid":"876590305","full_name":"giocip/n7","owner":"giocip","description":"Arbitrary precision decimal calculator for ARDUINO, ANDROID, chromeOS, LINUX, WINDOWS 10/11 and macOS command line","archived":false,"fork":false,"pushed_at":"2025-06-01T12:03:44.000Z","size":9649,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-22T23:24:45.868Z","etag":null,"topics":["arbitrary-precision","arithmetic","bash","cli","cmd","decimal","linux","mac","math","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giocip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["giocip"]}},"created_at":"2024-10-22T08:23:59.000Z","updated_at":"2025-06-01T12:04:38.000Z","dependencies_parsed_at":"2025-04-25T19:19:55.493Z","dependency_job_id":"8bc91078-7c9d-40c8-ad8f-d070471204f7","html_url":"https://github.com/giocip/n7","commit_stats":null,"previous_names":["giocip/n7"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/giocip/n7","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giocip%2Fn7","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giocip%2Fn7/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giocip%2Fn7/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giocip%2Fn7/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giocip","download_url":"https://codeload.github.com/giocip/n7/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giocip%2Fn7/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903355,"owners_count":26065861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["arbitrary-precision","arithmetic","bash","cli","cmd","decimal","linux","mac","math","windows"],"created_at":"2024-12-15T19:33:20.808Z","updated_at":"2025-10-08T07:08:42.012Z","avatar_url":"https://github.com/giocip.png","language":"C++","funding_links":["https://github.com/sponsors/giocip"],"categories":[],"sub_categories":[],"readme":"# n7\nArbitrary Precision Decimal Calculator for Arduino, Android, cromeOS, Linux, Mac and Windows Shell Command Line.\n\nIn one directory with num7.h header file compile the following:\n\n  g++ n7.cpp num7.cpp\n\n  HOW TO USE n7 SHELL COMMAND LINE:\n  \n          addition: n7 + 2 3.5      #5.5\n          addition: n7 + 2 3.5 4.5  #10.0\n       subtraction: n7 - 2 3.5      #-1.5\n       subtraction: n7 - 2 3.5 4.5  #-6.0\n    multiplication: n7 x 2 3.5 4.5  #31.5\n    multiplication: n7 X 2 3.5 4.5  #31.5\n    multiplication: n7 '*' 2 3.5 4  #28.0\n          division: n7 / 120 2.0 5  #12.0\n          division: n7 / 2.5 3.5    #0.7142857142857142857142857142857142857142\n          division: n7 : 2.5 3.5    #0.7142857142857142857142857142857142857142\n         remainder: n7 % 17.0 10 4  #3.0\n         factorial: n7 ! 5          #120.0\n  \n          absolute: n7 abs -5.0  #5.0\n  \n          addition: n7 add 3.0 5.5    #8.5\n       subtraction: n7 sub 3.0 5.5    #-2.5\n    multiplication: n7 mul 3.0 5.5    #16.5\n          division: n7 div 3.0 5.5 6  #0.545454\n         remainder: n7 mod 10.0 7.0   #3.0\n           inverse: n7 inv 3.0 6      #0.333333\n       square root: n7 sqr 2.0 6      #1.414213\n  \n            square: n7 x2  5.0       #25.0\n              cube: n7 x3  5.0       #125.0\n             power: n7 xy 10.5 3.0   #1157.625\n             power: n7 ^  10.5 3.0   #1157.625\n               10y: n7 10y 3.0       #1000.0\n                2y: n7 2y 32.0       #4294967296.0\n                ey: n7 ey 1.0        #2.7182818284590452353602874713527\n         factorial: n7 fact 5        #120.0\n  \n               10x: n7 10x 5.25         #52.5\n              100x: n7 100x 5.25        #525.0\n             1000x: n7 1000x 5.25       #5250.0\n             10div: n7 10div 5.25       #0.525\n            100div: n7 100div 5.25      #0.0525\n           1000div: n7 1000div 5.25     #0.00525\n  \n             shift: n7 shift 5.25  3.0  #5250.0\n             shift: n7 shift 5.25 -3.0  #0.00525\n  \n        percentage: n7 pct 3.725 150.0     #5.5875\n       perthousand: n7 pth 2.0 24_000.0    #48.0\n          spin-off: n7 spoff 22.0 1_299.0  #1064.75409836065573770491803278688524\n           spin-on: n7 rnd $(n7 spon 22.0 1_064.75) #1299.0\n  \n               rnd: n7 rnd  3.141592654 4  #3.1416\n              rndb: n7 rndb 3.14159265  7  #3.1415926\n              rndc: n7 rndc 3.141592654    #4.0\n              rndf: n7 rndf 3.74           #3.0\n  \n               sum: n7 sum  3.74 0.26 4 2.0  #10.0\n               min: n7 min  3.74 0.26 4 2.0  #0.26\n               max: n7 max  3.74 0.26 4 2.0  #4.0\n              mean: n7 mean 3.74 0.26 4 2.0  #2.5\n  \n                 e: n7 e   #2.7182818284590452353602874713527\n                pi: n7 pi  #3.1415926535897932384626433832795\n               exp: n7 exp 200.0e-5    #200.0e-5\n        scientific: n7 sci 200.0e-5    #2.0e-3\n              bits: n7 bits 10.0       #1010\n              bits: n7 bits 65535.0 0  #FFFF\n  \n                gt: n7 gt -5.0 -4.0  #0\n                ge: n7 ge -6.0 -6.0  #1\n                lt: n7 lt -5.0  0.0  #1\n                le: n7 le -5.0 -5.0  #1\n                eq: n7 eq -5.0  0.0  #0\n                ne: n7 ne -5.0  0.0  #1\n  \n           is_zero: n7 is_zero   0.0  #1\n            is_pos: n7 is_pos    1.0  #1\n            is_neg: n7 is_neg   -1.0  #1\n           is_even: n7 is_even   3.0  #0\n            is_odd: n7 is_odd    2.0  #0\n            is_int: n7 is_int   -2.1  #0\n          is_prime: n7 is_prime +3.0  #1\n  \n                if: if [ $(n7 \\\u003e 5 3) -eq 1 ]; then echo \"true\"; else echo \"false\"; fi  #true\n             while: a=1.0; while n7 -ge $a 0.0 -q; do echo -n \"$a \"; a=$(n7 - $a 0.1); sleep 0.01; done; echo  #1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0\n            \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiocip%2Fn7","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiocip%2Fn7","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiocip%2Fn7/lists"}