Post Reply 
Simple IP Calculator
02-08-2014, 01:05 PM (This post was last modified: 02-09-2014 10:20 AM by massimo.)
Post: #1
Simple IP Calculator
I created a simple IPv4 calculator to play with HP-PPL.

The IP addresses are represented as list of 4 numbers (the ip address 192.168.2.34 becomes {192,168,2,34}).

The program uses some utility functions that I wrote to simplify output of text on the display of the calculator.

---

IP Calc v0.2

Corrected a small bug (using #FF in place of #FFh broke code compilation when base is not hex).

IP Calc v0.3

Corrected the calculation of number of hosts. Introduced rounding of expressions using LN or ^ to eliminate decimals. Added code to manage correct integer settings.

.zip  IPCalc-v03.zip (Size: 2.16 KB / Downloads: 90)

Massimo
from 34c to prime
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Simple IP Calculator - massimo - 02-08-2014 01:05 PM
RE: Simple IP Calculator - rprosperi - 02-09-2014, 06:52 PM
RE: Simple IP Calculator - rprosperi - 02-09-2014, 07:32 PM
RE: Simple IP Calculator - massimo - 02-09-2014, 11:06 PM
RE: Simple IP Calculator - rprosperi - 02-09-2014, 11:29 PM
RE: Simple IP Calculator - massimo - 02-10-2014, 12:50 AM
RE: Simple IP Calculator - Tim Wessman - 02-10-2014, 04:05 PM
RE: Simple IP Calculator - rprosperi - 02-11-2014, 12:11 AM
RE: Simple IP Calculator - rprosperi - 02-11-2014, 12:37 AM



User(s) browsing this thread: 1 Guest(s)