Hi!
I just want to know if there exists an open source algorithm for the primitive generation...?
Okay... for rings and cones I have to round the sinus/cosinus to 4 decimal places (and then multiply it with a radius)...
...and round the result again to four dp (how should I round?)...
I know very well how to generate a (torus) primitive... but what are the precise numerical requirements for this task?
Is there any formal description which will lead to the same results on all machines?
What are the specified rounding modes?
Can I write a primitive generator program without a specification?
Currently, I am doing reverse engineering with PrimGen2...
...it seems to be (nearly) impossible to clone.
I make very good progress, but from time to time IEEE 754 pushes me back to the ground.
The mechanics of PrimGen2 are very clear to me and I know that .NET uses a different Math.Round() function than Java...
...it is not easy to finish the implementation soon.
I need some clever advice.
Leg godt
Nils
I just want to know if there exists an open source algorithm for the primitive generation...?
Okay... for rings and cones I have to round the sinus/cosinus to 4 decimal places (and then multiply it with a radius)...
...and round the result again to four dp (how should I round?)...
I know very well how to generate a (torus) primitive... but what are the precise numerical requirements for this task?
Is there any formal description which will lead to the same results on all machines?
What are the specified rounding modes?
Can I write a primitive generator program without a specification?
Currently, I am doing reverse engineering with PrimGen2...
...it seems to be (nearly) impossible to clone.
I make very good progress, but from time to time IEEE 754 pushes me back to the ground.
The mechanics of PrimGen2 are very clear to me and I know that .NET uses a different Math.Round() function than Java...
...it is not easy to finish the implementation soon.
I need some clever advice.
Leg godt
Nils