U+2212 Minus Sign in Computer Languages?

Asmus Freytag asmusf at ix.netcom.com
Thu Nov 3 11:54:14 CDT 2022

No program should recognize U+2122 (sic) for negation. However, they 
might accept U+2212...


On 11/2/2022 6:46 PM, Tim Partridge via Unicode wrote:
> According to Wikipedia, APL uses U+2122 for negation and subtraction. 
> https://en.wikipedia.org/wiki/APL_syntax_and_symbols 
> <https://en.wikipedia.org/wiki/APL_syntax_and_symbols>It references 
> https://www.math.uwaterloo.ca/~ljdickey/apl-rep/n1.html 
> <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.
>    Tim
> ------------------------------------------------------------------------
> *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/3ec2016b/attachment.htm>

More information about the Unicode mailing list