Add tasks for all the new languages

This commit is contained in:
Tina Müller 2016-12-05 23:44:36 +01:00
parent 9dc3c2bb62
commit bba7bfd280
13208 changed files with 134745 additions and 0 deletions

View file

@ -0,0 +1 @@
0 0 ^ .

View file

@ -0,0 +1,3 @@
.....
PRINT(0^0)
.....

View file

@ -0,0 +1,7 @@
;; trying the 16 combinations
;; all return the integer 1
(lib 'bigint)
(define zeroes '(integer: 0 inexact=float: 0.000 complex: 0+0i bignum: #0))
(for* ((z1 zeroes) (z2 zeroes)) (write (expt z1 z2)))
→ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

View file

@ -0,0 +1,4 @@
' FB 1.05.0 Win64
Print "0 ^ 0 ="; 0 ^ 0
Sleep

View file

@ -0,0 +1,3 @@
include "ConsoleWindow"
print 0^0

View file

@ -0,0 +1,3 @@
import math
echo pow(0, 0)

View file

@ -0,0 +1 @@
0 0 pow println

View file

@ -0,0 +1 @@
?power(0,0)

View file

@ -0,0 +1,4 @@
x = 0
y = 0
z = pow(x,y)
see "z=" + z + nl # z=1

View file

@ -0,0 +1,6 @@
[0, Complex(0, 0)].each {|n|
say n**n;
say n.pow(n);
say pow(n, n);
say Math.pow(n, n);
}

View file

@ -0,0 +1,2 @@
say 0.root(0).pow(0); # => 1
say ((0**(1/0))**0); # => 1

View file

@ -0,0 +1,2 @@
import Darwin
print(pow(0.0,0.0))

View file

@ -0,0 +1,2 @@
> out (pow 0 0) endl console
1.0

View file

@ -0,0 +1,5 @@
XLISP 3.3, September 6, 2002 Copyright (c) 1984-2002, by David Betz
[1] (expt 0 0)
1
[2]

View file

@ -0,0 +1 @@
def power(y): y as $y | if $y == 0 then 1 elif . == 0 then 0 else log * $y | exp end;