Zero to the zero power: Difference between revisions
Content deleted Content added
Not a robot (talk | contribs) Add CLU |
Added solution for Action! |
||
Line 49: | Line 49: | ||
{{omit from|ARM Assembly}} |
{{omit from|ARM Assembly}} |
||
=={{header|Action!}}== |
|||
{{libheader|Action! Tool Kit}} |
|||
<lang Action!>INCLUDE "D2:REAL.ACT" ;from the Action! Tool Kit |
|||
PROC Main() |
|||
REAL z,res |
|||
Put(125) PutE() ;clear the screen |
|||
IntToReal(0,z) |
|||
Power(z,z,res) |
|||
PrintR(z) Print("^") |
|||
PrintR(z) Print("=") |
|||
PrintRE(res) |
|||
RETURN</lang> |
|||
{{out}} |
|||
[https://gitlab.com/amarok8bit/action-rosetta-code/-/raw/master/images/Zero_to_the_zero_power.png Screenshot from Atari 8-bit computer] |
|||
<pre> |
|||
0^0=.9999999998 |
|||
</pre> |
|||
=={{header|Ada}}== |
=={{header|Ada}}== |