Algorithm for converting sqrt(irrational numbers) to integer fraction with a given precision of floating point places (numbers) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Algorithm for converting sqrt(irrational numbers) to integer fraction with a given precision of floating point places (numbers)

I already have found an algorithm for it... but i have some problems in variable types and floating points limitations and precision... any help appreciate

20th Aug 2017, 12:00 PM
masterjack
masterjack - avatar
1 Answer
- 1
Do the obvious way or google continuous fractions
20th Aug 2017, 1:01 PM
VcC
VcC - avatar