boostorg / boostorg/random

Non-finite results from `extreme_value_distribution` on Big endian machines with multiprecission numbers

Open
#161 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
42
Forks
76
Avg merge
4d 8h
Merged PRs (30d)
5

Description

`boost:random:extreme_value_distribution` produces non-finite values on BigEndian machines (at least) when using Boost.MultiPrecision

See CI job: https://github.com/boostorg/random/actions/runs/34334251027/job/102409830706?pr=157#step:12:4505

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked CI job and the extreme_value_distribution implementation and tests, reproducing the non-finite result with Boost.MultiPrecision on a big-endian target. Compare the behavior with a little-endian run and trace the numeric path until the endian-dependent difference is identified. Done means finite results on the affected configuration, with coverage for the regression.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.