News for hackers. Stuff that matters.
Re:Show HN: Numbat – A programming language with physical di... by sharkdp on Thursday November 16, 2023 @02:29PM (#38294179)
You don't have to convert to scalars. Numbers have a type of 1 (= Scalar).

You can just call exp(3), for example: https://numbat.dev/?q=exp%283%29%E2%8F%8E

Or you could pass an angle quantity, which is convertible to a Scalar. Like cos(30 deg): https://numbat.dev/?q=exp%283%29%E2%8F%8Ecos%2830+deg%29%E2%...

There are no comments on this comment yet.