{"id":13505530,"url":"https://github.com/arteymix/numeric-glib","last_synced_at":"2025-04-12T23:32:58.108Z","repository":{"id":51770118,"uuid":"72546376","full_name":"arteymix/numeric-glib","owner":"arteymix","description":"Numeric data types for GLib via GCC extensions","archived":false,"fork":false,"pushed_at":"2020-02-18T13:52:24.000Z","size":94,"stargazers_count":9,"open_issues_count":10,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T17:42:05.416Z","etag":null,"topics":["128-bit","80-bit","decimal","gcc-extensions","vala"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arteymix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-01T14:53:55.000Z","updated_at":"2022-08-02T18:52:37.000Z","dependencies_parsed_at":"2022-08-23T07:00:26.735Z","dependency_job_id":null,"html_url":"https://github.com/arteymix/numeric-glib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arteymix%2Fnumeric-glib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arteymix%2Fnumeric-glib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arteymix%2Fnumeric-glib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arteymix%2Fnumeric-glib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arteymix","download_url":"https://codeload.github.com/arteymix/numeric-glib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647257,"owners_count":21139081,"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","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":["128-bit","80-bit","decimal","gcc-extensions","vala"],"created_at":"2024-08-01T00:01:09.437Z","updated_at":"2025-04-12T23:32:58.082Z","avatar_url":"https://github.com/arteymix.png","language":"C","funding_links":[],"categories":["Libraries"],"sub_categories":["Data Structures \u0026 Data Types"],"readme":"# Numeric-GLib\n\nNumeric data types for GLib via GCC extensions\n\n# Features\n\n - 128 bit integers with `int128` and `uint128`\n - `float80` and quad-precision `float128`\n - decimal with `decimal32`, `decimal64` and `decimal128`\n - C99 `complex`, `complex80` and `complex128`\n - vectorized operations on supported types\n - little and big endian variants with `_le` and `_be` suffix\n\nAll types are prefixed with `numeric_`, but can be used as-is by importing the\n`Numeric` namespace in Vala.\n\n# Usage\n\nIn Vala, one can simply add `--pkg=numeric-glib-1.0` to include the type\ndefinitions and link against the shared library to initialize all the types and\ntransformations.\n\n```bash\nvala --pkg=numeric-glib-1.0 main.vala\n```\n\nOr via Meson, the `numeric_glib` dependency can be included in any target.\n\n```python\nproject('Foo')\n\nglib = dependency('glib-2.0')\ngobject = dependency('gobject-2.0')\nnumeric_glib = dependency('numeric-glib-1.0', fallback: ['numeric-glib', 'numeric_glib_dep'])\nnumeric_glib_vala = dependency('numeric-glib-1.0', fallback: ['numeric-glib', 'numeric_glib_vala_dep'])\n\nexecutable('foo', 'foo.c', dependencies: [glib, gobject, numeric_glib])\nexecutable('foo', 'foo.vala', dependencies: [glib, gobject, numeric_glib_vala])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farteymix%2Fnumeric-glib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farteymix%2Fnumeric-glib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farteymix%2Fnumeric-glib/lists"}