Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5210

problem with Ceiling

$
0
0

 

Hi,

I am facing problem on executing ceiling function.

when i am giving B=3.0 and c=ceiling(B) it.gives correct result 3

But when i am getting B by some calculations and execute for c it gives incorrect result.

    like B=(dx-2*via_enc)/via_pitch

          c=ceiling(B)

    it gives B=3.0 and c=4.

What can be the cause of this error?

 

Thanks


Viewing all articles
Browse latest Browse all 5210

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>