Minkowski question-mark function: Difference between revisions
Content deleted Content added
Line 267:
=={{header|Julia}}==
{{trans|FreeBasic}}
<lang julia>function minkowski(x
p = Int(floor(x))
(x > 1 || x < 0) && return p + minkowski(x
q, r, s, m, n = 1, p + 1, 1, 0, 0
d, y = 1.0, Float64(p)
|