Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

Syntax style question

DSP related issues, mathematics, processing and techniques

Syntax style question

Postby Rocko » Sun Jul 23, 2017 11:16 am

I've noticed this syntax styling (within stage(0) of 'blue code'):

Code: Select all
x = 3e10 | 0.9999 | 1


What does this mean ? Any idea?
Rocko
 
Posts: 154
Joined: Tue May 15, 2012 12:42 pm

Re: Syntax style question

Postby martinvicanek » Sun Jul 23, 2017 11:44 am

| means bitwise or. The code line is a hack to assign a particular bitmask.
martinvicanek
 
Posts: 670
Joined: Sat Jun 22, 2013 8:28 pm


Return to DSP

Who is online

Users browsing this forum: No registered users and 1 guest