Tanh in Axoloti?


#1

Hey :slight_smile:

Did anyone implement tanh function into an object I could check out? I searched the forum but only mentioned very few places.

Thanks!


#2

havent implemented it, but

gives a couple approximations you could use. its javascript but could be translated to C pretty easily. just pop it in a script/script2 or make a custom object. you'll mostly wanna make sure you're bitshifting stuff by the right amount for it to play nice in axo


#3

@watamacha

Cool thanks I will give it a go. I found another approximation yesterday that I tried implementing with not much luck(coding is still a bit new to me).