Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: More workflow fun  (Read 7692 times)

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
More workflow fun
« on: February 02, 2018, 08:25:34 AM »

The Workflow programming environment doesn't have bitwise AND OR XOR operators, so I'm having to make my own AND XOR and CMP functions from scratch. I'm doing it bit by bit, by using + or * on the pair of values and the extracting the resulting bit 0 and so on in turn.

This is so I can do an IPv6 netmask calculator. I've already written a string comparison thing to find out how many initial 16-but words two ipv6 address strings have in common, then I just need to bolt on something involving bitwise logic to do the final test in order to find out whether or not a given address is inside a particular netmasked range.
« Last Edit: February 02, 2018, 08:28:30 AM by Weaver »
Logged
 

anything