Share your repls and programming experiences

← Back to all posts
Exponent calculator
syflexer (460)

This is a simple exponent calculator that i made in my boredom that took me not that long to make but i think its cool so enjoy

Comments
hotnewtop
DynamicSquid (4629)

What's that guy doing?

syflexer (460)

@DynamicSquid what guy me?? oh wait you mean my profile pic you wouldn't understand unless you have seen the show my hero academia

syflexer (460)

@DynamicSquid no he was told his dream wasn't possible

syflexer (460)

@DynamicSquid pretty funny tho 1 time i edited it to make it look like his head was hitting a book shelf

DynamicSquid (4629)

@syflexer I thought he was hitting his head on something at first

syflexer (460)

@DynamicSquid no but i could make it that way lol

syflexer (460)

@johnstev111 ya you can get some big numbers try 1234 1234

firefish (915)

@syflexer I know, that was 2^1024

firefish (915)

@syflexer The largest number that javascript can handle in a single variable

syflexer (460)

@johnstev111 isnt it the 32 bit interger limit right or is it the 64 bit limit

firefish (915)

@syflexer It's neither. It's the 1024 bit limit. Also in python, you can do exponents like this: x**y which is x^y:

syflexer (460)

@johnstev111 oh that would have been good to know like yesterday

firefish (915)

@syflexer I only learnt that the other day...