Jump to content

javaCC how to represent epsilon?

- - - - -

  • Please log in to reply
1 reply to this topic

#1
ahmed

ahmed

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 304 posts
Can anyone please tell me how can i represent epsilon in javaCC for

Exp -> a Exp | epsilon

#2
Skippy

Skippy

    Programmer

  • Members
  • PipPipPipPip
  • 146 posts
Are you talking about the calculus epsilon? the one from mathematics?
Epsilon - Wikipedia, the free encyclopedia

if you are just represent it as a small float/double

float epsilon = 0.0000000001;




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users