Elliptic curve arithmetic: Difference between revisions
m
→{{header|11l}}: Static type variables are supported now
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
Alextretyak (talk | contribs) m (→{{header|11l}}: Static type variables are supported now) |
||
Line 47:
<syntaxhighlight lang="11l">T Point
:b = 7
Float x, y
Line 97 ⟶ 99:
F String()
R ‘(#.3, #.3)’.format(.x, .y)
F show(s, p)
Line 104:
F from_y(y)
V n = y * y -
V x = I n >= 0 {n ^ (1. / 3)} E -((-n) ^ (1. / 3))
R Point(x, y)
|