Replacement for @raoulb pr#914

See #914

ToDo:
- [x] tests
- [x] final rebase
Or even "returns the arcsine of x in radians"