U+2212 Minus Sign in Computer Languages?

Tim Partridge timpart at perdix.ndonet.com
Wed Nov 2 20:46:20 CDT 2022

According to Wikipedia, APL uses U+2122 for negation and subtraction. https://en.wikipedia.org/wiki/APL_syntax_and_symbols It references https://www.math.uwaterloo.ca/~ljdickey/apl-rep/n1.html

I suspect most programming languages follow the unification of hyphen and minus on typewriter keyboards which led to early character standards doing the same.

Also number formatting and parsing routines use the dual use character for negative numbers and tend not to recognise U+2122.

From: Unicode <unicode-bounces at corp.unicode.org> on behalf of Andreas Prilop via Unicode <unicode at corp.unicode.org>
Sent: 01 November 2022 13:19
To: unicode at corp.unicode.org <unicode at corp.unicode.org>
Subject: U+2212 Minus Sign in Computer Languages?

Is there any computer language that uses U+2212 as minus sign?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://corp.unicode.org/pipermail/unicode/attachments/20221103/acf91465/attachment.htm>

More information about the Unicode mailing list