BendMlTensorGpu.rng_cos: def of bend-ml-tensor-gpu@0.1.5.1 Import: import bend-ml-tensor-gpu@0.1.5.1/main.bend as BendMlTensorGpu Lines 648-654 of bend-ml-tensor-gpu@0.1.5.1/main.bend: https://jend.leeeet.dev/read.txt?path=bend-ml-tensor-gpu@0.1.5.1/main.bend&start_line=648&end_line=654 import Base def rng_cos(+x: F32) -> F32: +z = (x * x : F32) +c5 = (0.0000248015873 - (z * 0.00000027557319 : F32) : F32) +c4 = (0.0013888889 - (z * c5 : F32) : F32) +c3 = (0.041666668 - (z * c4 : F32) : F32) +c2 = (0.5 - (z * c3 : F32) : F32) (1.0 - (z * c2 : F32) : F32) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.sub