https://github.com/amd/aocl-libm-ose

AOCL-LibM

https://github.com/amd/aocl-libm-ose

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.2%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

AOCL-LibM

Basic Info
  • Host: GitHub
  • Owner: amd
  • License: other
  • Language: C
  • Default Branch: master
  • Homepage:
  • Size: 14.5 MB
Statistics
  • Stars: 116
  • Watchers: 7
  • Forks: 20
  • Open Issues: 14
  • Releases: 9
Created about 6 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

AOCL-LibM

AOCL-LibM is a high-performant implementation of LibM, the standard C library of basic floating-point mathematical functions. It includes many of the functions from the C99 standard. Single and double precision versions of the functions are provided, all optimized for accuracy and performance, including a small number of complex functions. There are also a number of vector and fast scalar variants provided, in which a small amount of the accuracy has been traded for greater performance.

A list of the scalar functions present in the library is provided below. Note that an "f" at the end of the function name indicates that it is single-precision; otherwise, it is double-precision. They can be called by a standard C99 function call and naming convention and must be linked with AOCL-LibM before standard libm.

For example:

$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/path/to/AOCL-LibM_library
$ clang -Wall -std=c99 myprogram.c -o myprogram -L<Path to AOCL-LibM Library> -lalm -lm
Or
$ gcc -Wall -std=c99 myprogram.c -o myprogram -L<Path to AOCL-LibM Library> -lalm -lm
  • Trigonometric

    • cosf, cos, sinf, sin, tanf, tan, sincosf and sincos
  • Inverse Trigonometric

    • acosf, acos, asinf, asin, atanf, atan, atan2f and atan2
  • Hyperbolic

    • coshf, cosh, sinhf, sinh, tanhf and tanh
  • Inverse Hyperbolic

    • acoshf, acosh, asinhf, asinh, atanhf and atanh
  • Exponential and Logarithmic

    • expf, exp, exp2f, exp2, exp10f, exp10, expm1f and expm1
    • logf, log, log10f, log10, log2f, log2, log1pf and log1p
    • logbf, logb, ilogbf and ilogb
    • modff, modf, frexpf, frexp, ldexpf and ldexp
    • scalbnf, scalbn, scalblnf and scalbln
  • Error

    • erff and erf
  • Power and Absolute Value

    • powf, pow, fastpow, cbrtf, cbrt, sqrtf, sqrt, hypotf and hypot
    • fabsf and fabs
  • Nearest Integer

    • ceilf, ceil, floorf, floor, truncf and trunc
    • rintf, rint, roundf, round, nearbyintf and nearbyint
    • lrintf, lrint, llrintf and llrint
    • lroundf, lround, llroundf and llround
  • Remainder

    • fmodf, fmod, remainderf and remainder
  • Manipulation

    • copysignf, copysign, nanf, nan, finitef, and finite
    • nextafterf, nextafter, nexttowardf and nexttoward
  • Maximum, Minimum and Difference

    • fdimf, fdim, fmaxf, fmax, fminf and fmin

INSTALLATION

Please refer to the file BUILDING-ose.txt.

CONTACTS

AOCL-LibM is developed and maintained by AMD. For support of these libraries and the other tools of AMD Zen Software Studio, see https://www.amd.com/en/developer/aocc/compiler-technical-support.html

Owner

  • Name: AMD
  • Login: amd
  • Kind: organization
  • Email: dl.DevSecOps-Github-Admin@amd.com

GitHub Events

Total
  • Create event: 16
  • Release event: 1
  • Issues event: 3
  • Watch event: 16
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 9
  • Pull request review event: 1
  • Pull request event: 4
  • Fork event: 8
Last Year
  • Create event: 16
  • Release event: 1
  • Issues event: 3
  • Watch event: 16
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 9
  • Pull request review event: 1
  • Pull request event: 4
  • Fork event: 8

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 28
  • Total Committers: 6
  • Avg Commits per committer: 4.667
  • Development Distribution Score (DDS): 0.607
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Prem Mallappa P****a@a****m 11
Jon Gibson 1****D 7
Pranoy Jayaraj P****j@a****m 4
Nimmy Krishnan n****n@a****m 3
Prem Mallappa(AMD) p****p@a****m 2
Ash Hassan 5****n 1
Committer Domains (Top 20 + Academic)
amd.com: 4

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 13
  • Total pull requests: 8
  • Average time to close issues: 1 day
  • Average time to close pull requests: 10 months
  • Total issue authors: 9
  • Total pull request authors: 6
  • Average comments per issue: 1.31
  • Average comments per pull request: 0.13
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 4
  • Average time to close issues: 1 day
  • Average time to close pull requests: 15 minutes
  • Issue authors: 2
  • Pull request authors: 2
  • Average comments per issue: 0.5
  • Average comments per pull request: 0.25
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • tannergooding (5)
  • lunatyc (1)
  • GermanAizek (1)
  • DarjanKrijan (1)
  • blackwer (1)
  • PenguinDOOM (1)
  • ye-luo (1)
  • farzonl (1)
  • saikrishna2893 (1)
Pull Request Authors
  • nimmykrishnan (4)
  • Lattay (4)
  • HollowMan6 (1)
  • jepler (1)
  • pmallapp-amd (1)
  • JonGibsonAMD (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • bigfloat ==0.3.0
  • pkg-resources ==0.0.0
  • scons ==3.0.5