Questions tagged [mpc]

MPC: multiprecision C library for arithmetic of complex numbers

Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as Mpfr. The library is written by Andreas Enge, Philippe Théveny, Paul Zimmermann and Mickaël Gastineau and is distributed under the Gnu Lesser General Public License.

http://mpc.multiprecision.org/

MPC is not :

88 questions
0
votes
2 answers

Parsing with MPC library returns error on grammar definition

I'm trying to use MPC to define a grammar for a language called Wittgen (https://esolangs.org/wiki/Wittgen) I defined the following grammar: mpc_parser_t* Variable = mpc_new("variable"); mpc_parser_t* Assign_Operator =…
GodTaxist
  • 71
  • 6
0
votes
1 answer

OpenDDS Perl Script Setup Throwing Error

Continuing from this SO question. When following the openDDS install guide I attempt to run configure from within the command prompt but receive this output recieve this error…
0
votes
1 answer

gcc 6.1. installation, gmp/mpfr/mpc not built?

I've recently installed the gcc 6.1, specifically for the libraries mentioned in the title (gmp/mpfr/mpc) I followed what the gnu website said: GNU Multiple Precision Library (GMP) version 4.3.2 (or later) Necessary to build GCC. If a GMP source…
user8469759
  • 2,522
  • 6
  • 26
  • 50
0
votes
1 answer

link a library without lib as prefix in linux using MPC

i have to link a static library which doesn't have lib as a prefix in it's name. i know how to link with simple g++ i.e as following g++ -l:"mylib.a" a.cpp i want to do the same using MPC. i tried following in MPC file. those are not…
Santhosh Kumar
  • 167
  • 2
  • 12
0
votes
0 answers

How much a Flash memory of an MPC can be flashed/erased (Flash Endurance , life cycles)

I began programming the MCP5748G, the problem is that i'm working on an existing application and I'm adding a module that depends on other modules. The module i'm developing is working well but when combined with the others modules both have to be…
The Beast
  • 1,629
  • 2
  • 29
  • 42
0
votes
1 answer

Receive data via MPC in a TableView - Objective C

I'm facing difficulty sending data via MPC, communication is working correctly between the devices is being printed on a TextView my need is to be presented in a table view, I can add and remove objects from a table view via MPC, does anyone know if…
0
votes
0 answers

Micro Parser Combinators (mpc) runs in endless loop

I am writing a compiler in C++ (using Visual Studio) for a small scripting language and I use this C parsing library. So, I followed instructions from the documentation and I ended up on this peace of code: int main() { mpc_parser_t* Int =…
TheCrafter
  • 1,909
  • 2
  • 23
  • 44
0
votes
1 answer

Run ./script.sh from PHP

I have web server that play music from Raspberry and turn on LED with script gpio.sh. I am using mpd, mpc and gpio. My /var/www/index.php :
0
votes
1 answer

Cannot use some Matlab MPC Toolbox functions

I'm trying to use for example setoutdist Matlab function from the MPC Toolbox (I'm using Matlab R2013a on Windows 8.1). As a response I'm receiving: Undefined function 'setoutdist' for input arguments of type 'ss'. I am able to get help about…
Kepler
  • 155
  • 3
  • 6
0
votes
2 answers

Installing GCC 4.8.2 on Red Hat Enterprise linux 6.5

I am new to Red Hat Enterprise linux. I am facing issues while compiling gcc 4.8.2 on Red Hat Enterprise Linux 6.5 I down;oaded the source code from GNU webite. I followed steps from this link http://gcc.gnu.org/wiki/InstallingGCC Commands fired…
Dhiraj
  • 257
  • 1
  • 5
  • 13
0
votes
1 answer

clearing and deleting multiprecision variables

I'm using some dynamically allocated arrays of multiprecision variables (from the mpc-library) and wonder if it is necessary both to clear the variables and to delete the arrays to avoid memory leaks etc? In other words, is all the housekeeping in…
jorgen
  • 3,425
  • 4
  • 31
  • 53
-1
votes
1 answer

how to deactivate GO111MODULE

I was looking forward to knowing how to deactivate go mod I was working with this sdk for multi-party-computation https://fusion.org/tech/dcrm
piash
  • 153
  • 1
  • 5
-4
votes
1 answer

How to compile GCC cross-compiler?

I am trying to compile GCC for i586-elf but every time I run the 'configure' file with this command: ./configure --target=$TARGET --prefix=$PREFIX --disable-nls --enable languages=c --without-headers --with-gmp=$PREFIX…
1 2 3 4 5
6