Elementary functions: algorithms and implementation | Synapse