Skip to content

Conversation

Veloctor
Copy link

@Veloctor Veloctor commented Aug 4, 2025

Description of the changes:

-Add Light year (ly) and Astronomical unit (AU) and Parsec (pc) to length unit convert, with all language localizations generated by ChatGPT. 1ly = 9460730472580800 m, 1AU=149597870700 m. 1pc = 648000/π AU. #2359

How changes were validated:

Run tests. If you like, check ISO standard defintion about these units.

Specify how you tested your changes:

  • Manual test, validate au/pc/ly to meters converted value.
  • Add test case to src\CalculatorUnitTests\Test.resw, and run tests.

Add Light year (ly) and Astronomical unit (AU) and Parsec (pc) to length unit convert. 1ly = 9460730472580800 m, 1AU=149597870700 m. 1pc = 648000/π AU.
@Veloctor
Copy link
Author

Veloctor commented Aug 4, 2025

@microsoft-github-policy-service agree

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant