real-number Questions
2
Solved
In https://www.cs.umd.edu/~rrand/vqc/Real.html#lab1 one can read:
Coq's standard library takes a very different approach to the real numbers: An axiomatic approach.
and one can find the following...
Miseno asked 22/10, 2021 at 22:39
5
I am not quite sure of what is the correct regex for the period in Java. Here are some of my attempts. Sadly, they all meant any character.
String regex = "[0-9]*[.]?[0-9]*";
String regex = "[0-9]...
Salver asked 29/3, 2017 at 4:44
2
Solved
I was wondering whether Coq defined the real numbers as Cauchy sequences or Dedekind cuts, so I checked Coq.Reals.Raxioms and... none of these two. The real numbers are axiomatized, along with thei...
Mutilate asked 20/8, 2018 at 14:35
2
Suppose we have something like this:
Suppose x is a real number. Show that if there is a real number y such that (y + 1) / (y - 2) = x, then x <> 1".
If one formulates it in an obvious way: fo...
Mccain asked 6/12, 2017 at 11:21
1
I was reading a book (CSAPP) . In the book it is written that-
floating point addition satisfies the following monotonicity property :
if a>=b then (x + a) >= (x+b) for any value a,b and x o...
Katzman asked 12/8, 2017 at 15:57
2
Solved
I need to format a real number with leading zeros in the whole number part prior to the decimal point. I know how to achieve this with integers, but the syntax for reals escapes me.
Number := 1.23...
Doble asked 25/10, 2016 at 21:43
2
Solved
I am just wondering how is the "less than" relationship defined for real numbers.
I understand that for natural numbers (nat), < can be defined recursively in terms of one number being the (1+)...
Bouleversement asked 21/12, 2015 at 18:4
1
© 2022 - 2024 — McMap. All rights reserved.