Skip to content

Sync armstrong-numbers tests #309

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

keiravillekode
Copy link
Contributor

[no important files changed]

[no important files changed]
Copy link

Hello 👋 Thanks for your PR.

This repo does not currently have dedicated maintainers. Our cross-track maintainers team will attempt to review and merge your PR, but it will likely take longer for your PR to be reviewed.

If you enjoy contributing to Exercism and have a track-record of doing so successfully, you might like to become an Exercism maintainer for this track.

Please feel free to ask any questions, or chat to us about anything to do with this PR or the reviewing process on the Exercism forum.

(cc @exercism/cross-track-maintainers)

description = "Seven digit number that is not an Armstrong number"
description = "Seven-digit number that is not an Armstrong number"

[5ee2fdf8-334e-4a46-bb8d-e5c19c02c148]
Copy link
Member

Choose a reason for hiding this comment

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

Is there any particular reason these last two tests are not included?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The D track has

pure bool isArmstrongNumber(immutable int number)
{
    // implement this function
}

Basic Data Types
int signed 32 bits

128-bit integer types
D currently reserves the cent and ucent keywords for future use as 128-bit integral types. Using them will result in a compile-time error.

The last two canonical tests require more than 32 bits

        "The numeric size of this input number is 108 bits. Consider skipping this test if appropriate."
        "number": 186709961001538790100634132976990

        "The numeric size of this input number is 127 bits. Consider skipping this test if appropriate."
        "number": 115132219018763992565095597973971522401

@SleeplessByte SleeplessByte added the x:action/sync Sync content with its latest version label Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/sync Sync content with its latest version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants