create table #xy (
[x] [float] NULL,
[y] [float] NULL
)
INSERT INTO #xy VALUES(16,65536)
INSERT INTO #xy VALUES(14,16384)
INSERT INTO #xy VALUES(12,4096)
INSERT INTO #xy VALUES(10,1024)
INSERT INTO #xy VALUES(8,256)
INSERT INTO #xy VALUES(6,64)
INSERT INTO #xy VALUES(4,16)
INSERT INTO #xy VALUES(2,4)
INSERT INTO #xy VALUES(0,1)
INSERT INTO #xy VALUES(-2,0.25)
INSERT INTO #xy VALUES(-4,0.0625)
INSERT INTO #xy VALUES(-6,0.015625)
INSERT INTO #xy VALUES(-8,0.00390625)
INSERT INTO #xy VALUES(-10,0.0009765625)
INSERT INTO #xy VALUES(-12,0.000244140625)
INSERT INTO #xy VALUES(-14,0.00006103515625)
INSERT INTO #xy VALUES(-16,0.0000152587890625)
SELECT wct.SPLINE_q('Select x, y from #xy order by x', 2.5) as SPLINE