Skip to content

beta function returns imprecise results #14620

@rawls238

Description

@rawls238

I'm noticing that the invocation of the beta function is returning imprecise results at higher decimal places. For instance, invoking beta(0.2, 0.25) returns 8.45704009347458 in Julia, while on Wolfram Alpha invoking the same thing it returns 8.4570400934745837. I've noticed this on several other invocations. @kmsquire did some digging into this and noted there appears to be a discrepancy in the last few digits of the invocation of lgamma_r though the lgamma_r function can return irrational numbers so in some cases that may be expected behavior. In any case, this issue is for fixing the results of the beta function

Metadata

Metadata

Assignees

No one assigned

    Labels

    mathsMathematical functions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions