Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More rounding methods: {long, BigInteger, BigDecimal} -> double #3895

Open
lowasser opened this issue May 8, 2020 · 0 comments
Open

More rounding methods: {long, BigInteger, BigDecimal} -> double #3895

lowasser opened this issue May 8, 2020 · 0 comments
Assignees
Labels

Comments

@lowasser
Copy link
Contributor

lowasser commented May 8, 2020

https://stackoverflow.com/q/61669813/869736 asked for long-to-double with nonstandard rounding modes. Seems potentially worth providing -- not a lot of API surface area, hard to do, fits well with the existing utilities -- though BigDecimalMath would be new.

@lowasser lowasser changed the title More rounding methods: {log, BigInteger, BigDecimal} -> double More rounding methods: {long, BigInteger, BigDecimal} -> double May 8, 2020
@lowasser lowasser self-assigned this May 14, 2020
netdpb pushed a commit that referenced this issue Jun 5, 2020
…epresentable double value.

Partially implements #3895

RELNOTES=`math`: Added `BigIntegerMath.roundToDouble`.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=314837286
netdpb pushed a commit that referenced this issue Jun 5, 2020
…epresentable double value.

Partially implements #3895

RELNOTES=`math`: Added `BigIntegerMath.roundToDouble`.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=314837286
nick-someone pushed a commit that referenced this issue Jun 18, 2020
RELNOTES=Add LongMath.roundToDouble (#3895)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=316951853
nick-someone pushed a commit that referenced this issue Jun 18, 2020
RELNOTES=Add LongMath.roundToDouble (#3895)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=316951853
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants