Ask coding questions

← Back to all posts
Weird code
Bunnytoes

I have a question about the creation of java, so I was making a test for specific rounding, when I looked at computing powers in java the code is in the repl, but this code would work for the powers, also the cbrt code is just as complex as the power

The question is why is it so long

Voters
Bunnytoes
Comments
hotnewtop
Bunnytoes

@QuickV the question id why is the code for powers so long

QuickV

Oh.... I have no idea lol, maybe someone just made it like that? idk.

@Bunnytoes

QuickV

What's the question? Maybe once you edit the description, ping me .-.

Coder100

so what's your question?

Bunnytoes

@Coder100 why is the powers code so long?