The Standard LibrarymathMethodsacosOn this pageacosComputes the arc cosine. acos(1); Syntax acos(value) Returns The arc cosine as a double. Notes Input as radians. Output as radians.