Skip to content

[RFC]: Add C implementations to base special math functions (tracking issue) #649

Open
@kgryte

Description

@kgryte
Member

Description

This RFC proposes adding C implementations to all base special math functions. The purpose of this issue is to serve as a tracking issue for adding C implementations.

Packages

  • abs
    abs2
    abs2f
    absf
    acos
    acosf
    acosd
    acosdf
    acosh
    acoshf
    acot
    acotf
    acotd
    acotdf
    acoth
    acothf
    acovercos
    acovercosf
    acoversin
    acoversinf
    acsc
    acscf
    acscd
    acscdf
    acsch
    acschf
    ahavercos
    ahavercosf
    ahaversin
    ahaversinf
    asec
    asecf
    asecd
    asecdf
    asech
    asechf
    asin
    asinf
    asind
    asindf
    asinf
    asinh
    asinhf
    atan
    atanf
    atan2
    atan2f
    atand
    atandf
    atanh
    atanhf
    avercos
    avercosf
    aversin
    aversinf
    bernoulli
    bernoullif
    besselj0
    besselj0f
    besselj1
    besselj1f
    bessely0
    bessely0f
    bessely1
    bessely1f
    beta
    betaf
    betainc
    betaincf
    betaincinv
    betaincinvf
    betaln
    betalnf
    binet
    binetf
    binomcoef
    binomcoeff
    binomcoefln
    binomcoeflnf
    boxcox
    boxcoxf
    boxcox1p
    boxcox1pf
    boxcox1pinv
    boxcox1pinvf
    boxcoxinv
    boxcoxinvf
    cabs
    cabs2
    cabs2f
    cabsf
    cbrt
    cbrtf
    cceil
    cceilf
    cceiln
    cceilnf
    ccis
    ccisf
    ceil
    ceil10
    ceil10f
    ceil2
    ceil2f
    ceilb
    ceilbf
    ceilf
    ceiln
    ceilnf
    ceilsd
    ceilsdf
    cexp
    cexpf
    cflipsign
    cflipsignf
    cfloor
    cfloorf
    cfloorn
    cfloornf
    cidentity
    cidentityf
    cinv
    cinvf
    clamp
    clampf
    copysign
    copysignf
    cos
    cosf
    cosd
    cosdf
    cosh
    coshf
    cosm1
    cosm1f
    cospi
    cospif
    cot
    cotf
    cotd
    cotdf
    coth
    cothf
    covercos
    covercosf
    coversin
    coversinf
    cphase
    cphasef
    cpolar
    cpolarf
    cround
    croundf
    croundn
    croundnf
    csc
    cscf
    cscd
    cscdf
    csch
    cschf
    csignum
    csignumf
    deg2rad
    deg2radf
    digamma
    digammaf
    dirac-delta
    dirac-deltaf
    dirichlet-eta
    dirichlet-etaf
    ellipe
    ellipef
    ellipj
    ellipjf
    ellipk
    ellipkf
    erf
    erff
    erfc
    erfcf
    erfcinv
    erfcinvf
    erfcx
    erfcxf
    erfinv
    erfinvf
    exp
    expf
    exp10
    exp10f
    exp2
    exp2f
    expit
    expitf
    expm1
    expm1f
    expm1rel
    expm1relf
    factorial
    factorialf
    factorial2
    factorial2f
    factorialln
    factoriallnf
    falling-factorial
    falling-factorialf
    fast/*
    fibonacci
    fibonaccif
    fibonacci-index
    fibonacci-indexf
    flipsign
    flipsignf
    floor
    floor10
    floor10f
    floor2
    floor2f
    floorb
    floorbf
    floorf
    floorn
    floornf
    floorsd
    floorsdf
    fmod
    fmodf
    fresnel
    fresnelf
    fresnelc
    fresnelcf
    fresnels
    fresnelsf
    frexp
    frexpf
    gamma
    gammaf
    gamma-delta-ratio
    gamma-delta-ratiof
    gamma-lanczos-sum
    gamma-lanczos-sumf
    gamma-lanczos-sum-expg-scaled
    gamma-lanczos-sum-expg-scaledf
    gamma1pm1
    gamma1pm1f
    gammainc
    gammaincf
    gammaincinv
    gammaincinvf
    gammaln
    gammalnf
    gammasgn
    gammasgnf
    gcd
    gcdf
    hacovercos
    hacovercosf
    hacoversin
    hacoversinf
    havercos
    havercosf
    haversin
    haversinf
    heaviside
    heavisidef
    hypot
    hypotf
    identity
    identityf
    inv
    invf
    kernel-betainc
    kernel-betaincf
    kernel-betaincinv
    kernel-betaincinvf
    kernel-cos
    kernel-cosf
    kernel-sin
    kernel-sinf
    kernel-tan
    kernel-tanf
    kronecker-delta
    kronecker-deltaf
    labs
    lcm
    lcmf
    ldexp
    ldexpf
    ln
    lnf
    log
    logf
    log10
    log10f
    log1mexp
    log1mexpf
    log1p
    log1pf
    log1pexp
    log1pexpf
    log1pmx
    log1pmxf
    log2
    log2f
    logaddexp
    logaddexpf
    logit
    logitf
    lucas
    lucasf
    max
    maxf
    maxabs
    maxabsf
    maxabsn
    maxn
    min
    minf
    minabs
    minabsf
    minabsn
    minmax
    minmaxf
    minmaxabs
    minmaxabsf
    minmaxabsn
    minmaxn
    minn
    modf
    modff
    nanmax
    nanmaxf
    nanmin
    nanminf
    negafibonacci
    negafibonaccif
    negalucas
    negalucasf
    nonfibonacci
    nonfibonaccif
    pdiff
    pdifff
    polygamma
    polygammaf
    pow
    powf
    powm1
    powm1f
    rad2deg
    rad2degf
    ramp
    rampf
    rcbrt
    rcbrtf
    rempio2
    rempio2f
    riemann-zeta
    riemann-zetaf
    rising-factorial
    rising-factorialf
    round
    roundf
    round10
    round10f
    round2
    round2f
    roundb
    roundbf
    roundn
    roundnf
    roundsd
    roundsdf
    rsqrt
    rsqrtf
    sec
    secd
    secdf
    secf
    sici
    sicif
    signum
    signumf
    sin
    sinf
    sinc
    sincf
    sincos
    sincosd
    sincosdf
    sincosf
    sincospi
    sincospif
    sinh
    sinhf
    sinpi
    sinpif
    spence
    spencef
    sqrt
    sqrt1pm1
    sqrt1pm1f
    sqrtf
    sqrtpi
    sqrtpif
    tan
    tanf
    tand
    tandf
    tanh
    tanhf
    tribonacci
    tribonaccif
    trigamma
    trigammaf
    trunc
    trunc10
    trunc10f
    trunc2
    trunc2f
    truncb
    truncbf
    truncf
    truncn
    truncnf
    truncsd
    truncsdf
    vercos
    vercosf
    versin
    versinf
    wrap
    wrapf
    xlog1py
    xlog1pyf
    xlogy
    xlogyf

Related Issues

None.

Questions

No.

Other

No.

Checklist

  • I have read and understood the Code of Conduct.
    Searched for existing issues and pull requests.
    The issue name begins with RFC:.

Activity

added
RFCRequest for comments. Feature requests and proposed changes.
FeatureIssue or pull request for adding a new feature.
MathIssue or pull request specific to math functionality.
Native AddonsIssue involves or relates to Node.js native add-ons.
EnhancementIssue or pull request for enhancing existing functionality.
and removed
FeatureIssue or pull request for adding a new feature.
on Dec 2, 2022
added
difficulty: 3Likely to be challenging but manageable.
AcceptedRFC feature request which has been accepted.
priority: HighHigh priority concern or feature request.
on Feb 25, 2024

617 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedRFC feature request which has been accepted.EnhancementIssue or pull request for enhancing existing functionality.MathIssue or pull request specific to math functionality.Native AddonsIssue involves or relates to Node.js native add-ons.RFCRequest for comments. Feature requests and proposed changes.Tracking IssueTracking issue.difficulty: 3Likely to be challenging but manageable.priority: HighHigh priority concern or feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @Planeshifter@kgryte@gunjjoshi@Pranavchiku@sahil20021008

      Issue actions

        [RFC]: Add C implementations to base special math functions (tracking issue) · Issue #649 · stdlib-js/stdlib