Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

floating point with pbp - how can i get them?

Status
Not open for further replies.

klemm

Member level 1
Joined
May 16, 2002
Messages
36
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
199
floating point with pbp?

Hi,

how can I get floating point results with pbp. I need only easy division like:

255/10 = 25,5

Thanks


Klemm
 

steiner

Newbie level 6
Joined
Mar 10, 2002
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
italy
Activity points
16
re

Hi klemm,I use:
Example:A=21 and B=2
C=A/B _____(result 10)
D=A//B_____(rsult 1)
The math operator // load the D var with the rest of the operation /
Steiner :D
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top