mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: Dr Sardonicus
Forum: Miscellaneous Math 2021-12-08, 01:46
Replies: 52
Views: 3,142
Posted By Dr Sardonicus
I asked Bill Allombert, who writes Pari-GP code,...

I asked Bill Allombert, who writes Pari-GP code, about the parsing of a && b || c. According to him,
Forum: Miscellaneous Math 2021-12-07, 23:56
Replies: 52
Views: 3,142
Posted By Dr Sardonicus
This reminds me of a joke I heard as a child:The...

This reminds me of a joke I heard as a child:The village blacksmith told his apprentice, "When I take the shoe out of the fire, I'll lay it on the anvil; and when I nod my head, you hit it with this...
Forum: Miscellaneous Math 2021-12-07, 15:03
Replies: 52
Views: 3,142
Posted By Dr Sardonicus
Huh. If c is TRUE, (a && b) || c evaluates to...

Huh. If c is TRUE, (a && b) || c evaluates to TRUE, but a && (b || c) evaluates to the same truth value as a. It looks like Pari used the latter parsing instead of the former. Weird!
Forum: Miscellaneous Math 2021-12-07, 02:00
Replies: 52
Views: 3,142
Posted By Dr Sardonicus
Since when? The documentation I looked at says

Since when? The documentation I looked at says
Forum: Miscellaneous Math 2021-09-30, 16:19
Replies: 52
Views: 3,142
Posted By Dr Sardonicus
It's not the math. The individual operations of...

It's not the math. The individual operations of additon, subtraction, and multiplication are all defined for the integers. Division, except by zero, is defined for the rational numbers.
...
Forum: Miscellaneous Math 2021-09-30, 12:06
Replies: 52
Views: 3,142
Posted By Dr Sardonicus
This is a case where punctuation really would be...

This is a case where punctuation really would be a matter of life and death! "Behead, not pardon" and "Behead not, pardon" have opposite meanings.
Forum: Miscellaneous Math 2021-09-29, 00:31
Replies: 52
Views: 3,142
Posted By Dr Sardonicus
The "right answer" then, is "This doesn't parse."...

The "right answer" then, is "This doesn't parse." The problem is there's no operator between the 2 and the (.

In the error message, the ^ appeared directly under the (. I tried to put it there...
Showing results 1 to 7 of 7

 
All times are UTC. The time now is 14:31.


Wed Jan 19 14:31:24 UTC 2022 up 180 days, 9 hrs, 0 users, load averages: 2.05, 1.80, 1.74

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔