Created
April 6, 2021 12:20
-
-
Save PaulRBerg/5ad52bd1d05844f5eb068334835e51d5 to your computer and use it in GitHub Desktop.
I wanted to post this question on mathematica.stackexchange.com but I couldn't because of this error: "Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the code toolbar button or the CTRL+K keyboard shortcut"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Being in need of calculating the following numbers with 18 decimals of precision: | |
$$ | |
2^{2^{-x}}, x\in{\mathbb{N}} | |
$$ | |
I looked for what built-in symbols can help me and found [Power](https://reference.wolfram.com/language/ref/Power.html) and [NumberForm](https://reference.wolfram.com/language/ref/NumberForm.html). I tried an example: | |
```mathematica | |
NumberForm[Power[2, 2^-3], 18] | |
``` | |
But when evaluated, it shows up like this: | |
$$ | |
2^{1/8} | |
$$ | |
Whereas I wanted this: | |
$$ | |
1.090507732665257659 | |
$$ | |
How can I make WolframCloud display the latter formatting? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment