Skip to content

[Bug]: ExponentialDistributionTest.AlgorithmBounds and IOStreamStateSaver.RoundTripLongDoubles fail on PowerPC #2096

Description

@barracuda156

Describe the issue

Inadequate precision threshold?

[ RUN      ] ExponentialDistributionTest.AlgorithmBounds
/opt/local/var/macports/build/abseil-ec2faa01/work/abseil-cpp-20260526.0/absl/random/exponential_distribution_test.cc:408: Failure
Expected equality of these values:
  a
    Which is: 0.69314718055994506
  0.693147180559945175204
    Which is: 0.69314718055994518

[  FAILED  ] ExponentialDistributionTest.AlgorithmBounds (0 ms)
[ RUN      ] IOStreamStateSaver.RoundTripLongDoubles
/opt/local/var/macports/build/abseil-ec2faa01/work/abseil-cpp-20260526.0/absl/random/internal/iostream_state_saver_test.cc:338: Failure
Expected equality of these values:
  dd
    Which is: 2.00417e-292
  StreamRoundTrip<real_type>(dd)
    Which is: 2.00417e-292
26

/opt/local/var/macports/build/abseil-ec2faa01/work/abseil-cpp-20260526.0/absl/random/internal/iostream_state_saver_test.cc:339: Failure
Expected equality of these values:
  -dd
    Which is: -2.00417e-292
  StreamRoundTrip<real_type>(-dd)
    Which is: -2.00417e-292
26

/opt/local/var/macports/build/abseil-ec2faa01/work/abseil-cpp-20260526.0/absl/random/internal/iostream_state_saver_test.cc:338: Failure
Expected equality of these values:
  dd
    Which is: 2.00417e-292
  StreamRoundTrip<real_type>(dd)
    Which is: 2.00417e-292
30

/opt/local/var/macports/build/abseil-ec2faa01/work/abseil-cpp-20260526.0/absl/random/internal/iostream_state_saver_test.cc:339: Failure
Expected equality of these values:
  -dd
    Which is: -2.00417e-292
  StreamRoundTrip<real_type>(-dd)
    Which is: -2.00417e-292
30

[  FAILED  ] IOStreamStateSaver.RoundTripLongDoubles (2 ms)

Steps to reproduce the problem

Run tests

What version of Abseil are you using?

20260526.0

What operating system and version are you using?

macOS 10.6.8

What compiler and version are you using?

gcc 16.1.0, C++17

What build system are you using?

MacPorts

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions