i found this github site that had a yolol code for figuring the cosine value with an advanced chip, as professional chips are not really in game yet...
github.com/CylonSB/Scripts/tree/master/Scripts/Cosine%20(Basic%20Chip)
// This line sets up some constants. It must be run before the next
// line. Ensure you are not using the variable names anywhere else
// in your program.
b=5.234 c=23.775 d=29.59 x=360 k=x*250
// This line calculates the cosine of :i and puts the result into
i=absi%x-180)-90 o=b*i+((d*i^5)/k-c*i^3)/k =(o+o%0.3)/300
so I'm trying the get this to work, but it is not.
the problem is the (o+o%0.3) part
the wiki is horrible at anything else other than basic info
I don't know what "%" is in yolol and I'm having trouble figuring it out
if i had more informed wiki i mite be able to figure out a workaround to this problem but this is not the case.
anyone know how to make this work, or is it a bug in yolol chips for "%" not working with a decimal numbers?
github.com/CylonSB/Scripts/tree/master/Scripts/Cosine%20(Basic%20Chip)
// This line sets up some constants. It must be run before the next
// line. Ensure you are not using the variable names anywhere else
// in your program.
b=5.234 c=23.775 d=29.59 x=360 k=x*250
// This line calculates the cosine of :i and puts the result into
i=absi%x-180)-90 o=b*i+((d*i^5)/k-c*i^3)/k =(o+o%0.3)/300
so I'm trying the get this to work, but it is not.
the problem is the (o+o%0.3) part
the wiki is horrible at anything else other than basic info
I don't know what "%" is in yolol and I'm having trouble figuring it out
if i had more informed wiki i mite be able to figure out a workaround to this problem but this is not the case.
anyone know how to make this work, or is it a bug in yolol chips for "%" not working with a decimal numbers?
Last edited: