TPK algorithm: Difference between revisions

Content deleted Content added
C++: type error corrected
Aak82 (talk | contribs)
No edit summary
Line 286:
 
Floating point in Python on most platforms is [[IEEE-754]], which can return "nan" and "inf" values, or raise an appropriate Python exception.
 
===[[K_(programming_language)|q/KDB]]===
<source lang="q">
/input : 1 2 3 4 5 6 7 8 9 10
f:{[x] $[400>res:sqrt[abs x] + 5* x xexp 3; res; `$"TOO LARGE"]};
f each reverse input
</source>
q does not provide any function/operator for standard input.
 
 
===[[R (programming language)|R]]/[[S-PLUS]]===