Skip to content

Conversation

kuksenko
Copy link
Contributor

@kuksenko kuksenko commented Oct 17, 2025

Add StrictMath microbenchmarks to cover FDLIBM algorithms

The methods that require fdlibm semantics are sin, cos, tan, asin, acos, atan, exp, log, log10, cbrt, atan2, pow, sinh, cosh, tanh, hypot, expm1, and log1p.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8370150: Add StrictMath microbenchmarks to cover FDLIBM algorithms (Enhancement - P4)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/27881/head:pull/27881
$ git checkout pull/27881

Update a local copy of the PR:
$ git checkout pull/27881
$ git pull https://git.openjdk.org/jdk.git pull/27881/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 27881

View PR using the GUI difftool:
$ git pr show -t 27881

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/27881.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Oct 17, 2025

👋 Welcome back skuksenko! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Oct 17, 2025

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk
Copy link

openjdk bot commented Oct 17, 2025

@kuksenko The following label will be automatically applied to this pull request:

  • core-libs

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the rfr Pull request is ready for review label Oct 17, 2025
@mlbridge
Copy link

mlbridge bot commented Oct 17, 2025

Webrevs

Fix copyright format
public RangeState(boolean signed, double min, double max) {
this.min = min;
this.max = max;
this.signed = signed;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field is never read.
I guess you want to change the setup() method to use this field rather than rely on nextBoolean()?


public static class RangeHalfLn2To56Ln2 extends RangeState {
public RangeHalfLn2To56Ln2() {
super(0.34657359, 38.8162421);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider declaring "magic" values related to ln(2) as private static final doubles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-libs [email protected] rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

2 participants