The Glade 4.0 https://gladerebooted.net/ |
|
Symbols for "does not equal" https://gladerebooted.net/viewtopic.php?f=2&t=9187 |
Page 1 of 1 |
Author: | RangerDave [ Tue Oct 02, 2012 1:26 pm ] |
Post subject: | Symbols for "does not equal" |
See poll question. |
Author: | Mookhow [ Tue Oct 02, 2012 1:29 pm ] |
Post subject: | Re: Symbols for "does not equal" |
I voted for '!=', but I also know of '<>' and '-ne'. |
Author: | Lenas [ Tue Oct 02, 2012 1:34 pm ] |
Post subject: | Re: Symbols for "does not equal" |
!= because the exclamation point is widely used in programing to mean "does/is not". |
Author: | Corolinth [ Tue Oct 02, 2012 1:35 pm ] |
Post subject: | Re: Symbols for "does not equal" |
The last two are an attempt to replicate the standard handwritten symbol, which does exist in LaTeX as a single symbol: Attachment: not equal.png [ 220 Bytes | Viewed 1919 times ] Lacking such a symbol, the proper formal way to express the relationship is to use the logical NOT operator before the equal sign. != |
Author: | Lenas [ Tue Oct 02, 2012 1:42 pm ] |
Post subject: | Re: Symbols for "does not equal" |
Fortunately it exists in unicode, so if you wanna use it, here you go: ≠ http://www.fileformat.info/info/unicode ... /index.htm |
Author: | Müs [ Tue Oct 02, 2012 1:55 pm ] |
Post subject: | |
Now we need a unicode for "Does not want!" |
Author: | Hopwin [ Tue Oct 02, 2012 2:03 pm ] |
Post subject: | |
!= I've seen <> and it always confuses me for a second. |
Author: | Rafael [ Tue Oct 02, 2012 2:08 pm ] |
Post subject: | |
I've used != and <> I believe I picked up the use of <> from BASIC. |
Author: | Kaffis Mark V [ Tue Oct 02, 2012 2:56 pm ] |
Post subject: | Re: |
Müs wrote: Now we need a unicode for "Does not want!" !want |
Author: | Stathol [ Tue Oct 02, 2012 3:12 pm ] |
Post subject: | Re: Symbols for "does not equal" |
BASIC is the only language I'm aware of that uses "<>". Trivia: in Intel-style x86 and x64 assembly, you do (in)equality testing with a combination of the cmp or sub instruction followed by jz/je or jnz/jne. Code: cmp eax, 7h
jne <wherever> |
Author: | Aizle [ Tue Oct 02, 2012 3:45 pm ] |
Post subject: | |
Non of the above. I typically use |= when typing. Tho /= is a close runner up. |
Author: | shuyung [ Tue Oct 02, 2012 3:51 pm ] |
Post subject: | |
I want to say that Pascal uses (or used to use) <> for an inequality operator. |
Author: | Timmit [ Tue Oct 02, 2012 4:15 pm ] |
Post subject: | Re: Symbols for "does not equal |
In my old FORTRAN days it was .ne. but now it's != |
Author: | Shelgeyr [ Tue Oct 02, 2012 4:26 pm ] |
Post subject: | |
I voted for !=, but my job has me using <> an awful lot. Oh, also ... NEQ. |
Author: | Numbuk [ Tue Oct 02, 2012 5:01 pm ] |
Post subject: | Re: Symbols for "does not equal" |
C++ taught me != |
Author: | Midgen [ Tue Oct 02, 2012 6:41 pm ] |
Post subject: | |
<> and/or =/= != != |
Author: | Shelgeyr [ Tue Oct 02, 2012 9:11 pm ] |
Post subject: | Re: |
Midgen wrote: <> and/or =/= != != Sorry to burst your bubble, Midgen but ...<> == != And the logic is perfectly sound. >= .... greater than or equal to <= .... less than or equal to <> .... less than or greater than (aka: not equal to) |
Author: | Midgen [ Wed Oct 03, 2012 2:03 am ] |
Post subject: | |
gah... i was just trying to be funny.. (poorly apparently) My bubbles all burst a long long time ago... |
Author: | Shelgeyr [ Wed Oct 03, 2012 5:32 am ] |
Post subject: | |
Sorry bout that. It's totally funny, now that I know it's not a deeply-held personal belief. |
Author: | Hopwin [ Wed Oct 03, 2012 6:53 am ] |
Post subject: | |
/= Always makes me think you are commenting something out. |
Author: | Aegnor [ Wed Oct 03, 2012 9:59 am ] |
Post subject: | |
Definitely !-, followed by <>. I originally learned to program in BASIC which uses <>, but many years of programming in C, then C++, then Java, have ingrained !=. |
Author: | Arathain Kelvar [ Wed Oct 03, 2012 11:58 am ] |
Post subject: | |
!= clearly means you are excited that it is equal. My programming days are long behind me. I use /= |
Author: | Elmarnieh [ Wed Oct 03, 2012 3:37 pm ] |
Post subject: | |
!= and I think as above both Pascal and Basic use <> but I haven't used that in a longgggggg time. |
Page 1 of 1 | All times are UTC - 6 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |