JuliaMath / JuliaMath/DoubleFloats.jl

`loggamma` and `lgamma` are exported but not defined

Open Beginner friendly
#323 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
172
Forks
37
PR merge metrics
No merged PRs in 30d

Description

In a temp environment, I can install just DoubleFloats v1.11.2, then do `using DoubleFloats`. I can then tab-complete to get both `loggamma` and `lgamma` (and the qualified versions `DoubleFloats.loggamma` and `DoubleFloats.lgamma`). But they're undefined. They are actually exported, but not imported or defined anywhere:

https://github.com/JuliaMath/DoubleFloats.jl/blob/9b37877d0f54ec8792d8954cf9e0e2dec59460d6/src/DoubleFloats.jl#L33

```julia
julia> using DoubleFloats

julia> loggamma
ERROR: UndefVarError: `loggamma` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Hint: a global variable of this name also exists in SpecialFunctions.

julia> lgamma
ERROR: UndefVarError: `lgamma` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Hint: a global variable of this name also exists in SpecialFunctions.

julia> DoubleFloats.loggamma
ERROR: UndefVarError: `loggamma` not defined in `DoubleFloats`
Suggestion: check for spelling errors or missing imports.
Hint: a global variable of this name also exists in SpecialFunctions.
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base_compiler.jl:47
[2] top-level scope
@ REPL[19]:1

julia> DoubleFloats.lgamma
ERROR: UndefVarError: `lgamma` not defined in `DoubleFloats`
Suggestion: check for spelling errors or missing imports.
Hint: a global variable of this name also exists in SpecialFunctions.
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base_compiler.jl:47
[2] top-level scope
@ REPL[20]:1

julia> versioninfo()
Julia Version 1.12.7
Commit 6d172b025e4 (2026-08-15 08:05 UTC)
Build Info:
Official https://julialang.org release
Platform Info:
OS: macOS (arm64-apple-darwin25.5.0)
CPU: 12 × Apple M2 Max
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, apple-m2)
GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 8 virtual cores)
Environment:
JULIA_EDITOR = code-insiders

(jl_8Bguvc) pkg> st
Status `/private/var/folders/bh/rg4bdsl965l0572z3vtmwkr40000gn/T/jl_8Bguvc/Project.toml`
[497a8b3b] DoubleFloats v1.11.2
````

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src/DoubleFloats.jl around the export declarations linked in the issue, then search the package for definitions or imports of loggamma and lgamma. Done means both names are valid after using DoubleFloats and through the qualified DoubleFloats module.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.