Jump to content

Continued fraction/Arithmetic/Construct from rational number: Difference between revisions

m
→‎{{header|REXX}}: consolidated two comment lines into one comment line. -- ~~~~
m (→‎{{header|REXX}}: changed a comment in the REXX section header. -- ~~~~)
m (→‎{{header|REXX}}: consolidated two comment lines into one comment line. -- ~~~~)
Line 273:
return strip($)
/*─────────────────────────────PI subroutine────────────────────────────*/
pi: return, /*a bit of overkill, but hey !! */ /* ··· should ≥ NUMERIC DIGITS */
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271
/* ··· should ≥ NUMERIC DIGITS */
/*─────────────────────────────SERR subroutine──────────────────────────*/
serr: say; say '***error!***'; say; say arg(1); say; exit
Cookies help us deliver our services. By using our services, you agree to our use of cookies.