https://github.com/JuliaStats/LogExpFunctions.jl/issues/49 I can try to make a PR? is there any example of similar function?