Name:
Anonymous
2018-09-01 18:29
I need help writing a program that calculates pi in pascal. How do I start?
Name:
Anonymous
2018-09-01 18:36
don't math libraries have pi already? no need to calculate it
for example, in java, it's just Math.PI
Name:
Anonymous
2018-09-01 19:55
>>2I want to do it for the learning part.
Name:
Anonymous
2018-09-01 20:02
>>5misconception is what happened to you when you were born
Name:
Anonymous
2018-09-01 20:10
>>6``I was only pretending to be retarded''
Name:
Anonymous
2018-09-01 21:16
>>5Truncate after the 2nd decimal digit.
Name:
Anonymous
2018-09-02 9:17
>>1122/7 is not in a normal form, thus it can be calculated, unlike 3.14 which is already in a normal form.
Name:
Anonymous
2018-09-02 12:41
Why do you need pi for? If it’
Name:
Anonymous
2018-09-02 21:25
>>14that's like saying 2.0 + 1.14 is better because you're calculating it
evaluation of an approximation != actual calculation of pi
Name:
Anonymous
2018-09-03 2:01
>>17Assuming that pi is actually infinite in length, you can't calculate it so I can only assume that
>>1-kun wants an approximation instead.
Name:
Anonymous
2018-09-03 3:15
I have approximated dubs. 19 is almost 22, right?
See, shitty approximation is not good enough. 22/7 is not close enough.
Name:
Anonymous
2018-09-03 5:20
#define PI 3 //good enough approximation
int pi=PI;
Name:
Anonymous
2018-09-03 5:24
>>19Your argument is not even relevant to mine..