Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
2 answers
185 views

I'm working on a C program that calculates the overlap area between two circles. The program needs to handle various cases: circles coinciding, one inside another, touching internally/externally, ...
mari gavr's user avatar
0 votes
0 answers
34 views

I’m defining an EMF metamodel but I keep getting an error on the { that starts my Model class. The parser highlights the opening brace after Model and reports: Encountered " "val" &...
4 votes
4 answers
179 views

#include <stdio.h> void get_eps(float *eps) { *eps = 1.0f; while ((1.0f + *eps / 2.0f) != 1.0f) { *eps /= 2.0f; } } int main(){ float eps; get_eps(&eps); ...
1 vote
0 answers
16 views

how search best epsilon and delta for lcs matrix(what object function) I want to use heuristic algorithms to search the value of epsilon and delta to find the best epsilon for time series data. I don'...
1 vote
1 answer
89 views

I know that arithmetic operations whose result is close to zero can sometimes be non-associative. This follows directly from the definition of machine epsilon. however, I decided to test another ...
0 votes
1 answer
268 views

I'm trying to determine the supremum numerically of the following function: example p(x) plot p(x) is a probability function with p(0+) > 0 which I further assume to be monotonic decreasing. The ...
0 votes
1 answer
143 views

I am studying Matlab, and I do not understand why (eps * 0.5) + 1 is not greater than 1. eps ans = 2.220446049250313e-16 fprintf('%.52f\n', eps); 0....
0 votes
2 answers
1k views

I'm studying Matlab and computer arithmetic, but I'm having trouble grasping the concept of the Machine Epsilon. I would appreciate a simple explanation, as if I were a child. What does '2.2204e-16' ...
1 vote
1 answer
85 views

Problem: I'm using EML and Epsilon Language Workbench to merge two project models, represented by two metamodels (MM1 and MM2), into a third metamodel (target). While I can achieve a simple merge ...
0 votes
0 answers
37 views

I am using mvel dialect for defining rules for drools rule engine. It may comprise of arithmetic expressions like in the when part as shown below rule "Test rule" dialect "mvel"...
1 vote
2 answers
2k views

I'm thinking to add a value close to 0, the so-called "epsilon", to the denominator to prevent zero division error, such as: double EPS = DBL_MIN; double no_zerodivision_error = 0.0 / (0.0 + ...
1 vote
1 answer
604 views

How to count the length of the digits after the dot in a double / float? Without std::string. So the length after the dot of 1234.5678 is 4. And how should you correctly use epsilon in such a ...
user avatar
0 votes
1 answer
42 views

i'm using Epsilon Comparison Language for the first time. I am writing a code in order to compare two models, in particular i want to show some information on the default output stream console when ...
24 votes
2 answers
2k views

Is there a way to obtain the greatest value representable by the floating-point type float which is smaller than 1. I've seen the following definition: static const double DoubleOneMinusEpsilon = 0x1....
1 vote
1 answer
401 views

I am having a hard time using Machine Epsilon which is 2.220446049250313e-16,I then need to use abs error to determine if my abs value of my sine term is less than the Machine Epsilon. Write a sine ...

15 30 50 per page
1
2 3 4 5
...
11

AltStyle によって変換されたページ (->オリジナル) /