use utf-8 encoding

This commit is contained in:
rlar 2012-10-20 21:27:15 +02:00
parent 2bcadae16c
commit a394d79c56
10 changed files with 30 additions and 30 deletions

View File

@ -3068,7 +3068,7 @@ M visualc/vngspice.vcproj
2010-11-06 Robert Larice 2010-11-06 Robert Larice
* src/frontend/inpcom.c : * src/frontend/inpcom.c :
Thank you Éric Larouche, for the report and fix of a bug concerning Thank you Éric Larouche, for the report and fix of a bug concerning
the number of terminals of the current-controlled switch device the number of terminals of the current-controlled switch device
(`w' device) (committed at 2007-10-08) (`w' device) (committed at 2007-10-08)

View File

@ -911,7 +911,7 @@ inp_fix_gnd_name(struct line *deck)
c = c->li_next; c = c->li_next;
continue; continue;
} }
// replace "§gnd§" by "§ 0 §", § being a ' ' ',' '(' ')'. // replace "?gnd?" by "? 0 ?", ? being a ' ' ',' '(' ')'.
while ((gnd = strstr(gnd, "gnd")) != NULL) { while ((gnd = strstr(gnd, "gnd")) != NULL) {
if ((isspace(*(gnd-1)) || *(gnd-1) == '(' || *(gnd-1) == ',') && if ((isspace(*(gnd-1)) || *(gnd-1) == '(' || *(gnd-1) == ',') &&
(isspace(*(gnd+3)) || *(gnd+3) == ')' || *(gnd+3) == ',')) { (isspace(*(gnd+3)) || *(gnd+3) == ')' || *(gnd+3) == ',')) {

View File

@ -13,13 +13,13 @@ Copyright 2008 Holger Vogt
Algorithm has been suggested in: Algorithm has been suggested in:
GPUGems 3, Addison Wesley, 2008, Chapter 37. GPUGems 3, Addison Wesley, 2008, Chapter 37.
It combines a three component Tausworthe generator taus88 It combines a three component Tausworthe generator taus88
(see P. L'Ecuyer: "Maximally equidistributed combined Tausworthe (see P. LEcuyer: "Maximally equidistributed combined Tausworthe
generators", Mathematics of Computation, 1996, generators", Mathematics of Computation, 1996,
www.iro.umontreal.ca/~lecuyer/myftp/papers/tausme.ps) http://www.iro.umontreal.ca/~lecuyer/myftp/papers/tausme.ps )
and a quick linear congruent generator (LCG), decribed in: and a quick linear congruent generator (LCG), decribed in:
Press: "Numerical recipes in C", Cambridge, 1992, p. 284. Press: "Numerical recipes in C", Cambridge, 1992, p. 284.
Generator has passed the bbattery_SmallCrush(gen) test of the Generator has passed the bbattery_SmallCrush(gen) test of the
TestU01 library from Pierre LEcuyer and Richard Simard, TestU01 library from Pierre LEcuyer and Richard Simard,
http://www.iro.umontreal.ca/~simardr/testu01/tu01.html http://www.iro.umontreal.ca/~simardr/testu01/tu01.html
*/ */

View File

@ -1,4 +1,4 @@
The terms under which the software is provided  are as the following. The terms under which the software is provided are as the following.
Software is distributed as is, completely without warranty or service Software is distributed as is, completely without warranty or service
support. The University of California and its employees are not liable support. The University of California and its employees are not liable

View File

@ -1,4 +1,4 @@
The terms under which the software is provided  are as the following. The terms under which the software is provided are as the following.
Software is distributed as is, completely without warranty or service Software is distributed as is, completely without warranty or service
support. The University of California and its employees are not liable support. The University of California and its employees are not liable
@ -15,15 +15,15 @@ and redistribute the software and documentation, both within the user's
organization and externally, subject to the following restrictions organization and externally, subject to the following restrictions
1. The users agree not to charge for the University of California code 1. The users agree not to charge for the University of California code
   itself but may charge for additions, extensions, or support. itself but may charge for additions, extensions, or support.
2. In any product based on the software, the users agree to acknowledge 2. In any product based on the software, the users agree to acknowledge
   the UC Berkeley BSIM Research Group that developed the software. This the UC Berkeley BSIM Research Group that developed the software. This
   acknowledgment shall appear in the product documentation. acknowledgment shall appear in the product documentation.
3. The users agree to obey all U.S. Government restrictions governing 3. The users agree to obey all U.S. Government restrictions governing
   redistribution or export of the software. redistribution or export of the software.
4. The users agree to reproduce any copyright notice which appears on 4. The users agree to reproduce any copyright notice which appears on
   the software on any copy or modification of such made available the software on any copy or modification of such made available
   to others. to others.

View File

@ -1,4 +1,4 @@
The terms under which the software is provided  are as the following. The terms under which the software is provided are as the following.
Software is distributed as is, completely without warranty or service Software is distributed as is, completely without warranty or service
support. The University of California and its employees are not liable support. The University of California and its employees are not liable
@ -15,15 +15,15 @@ and redistribute the software and documentation, both within the user's
organization and externally, subject to the following restrictions organization and externally, subject to the following restrictions
1. The users agree not to charge for the University of California code 1. The users agree not to charge for the University of California code
   itself but may charge for additions, extensions, or support. itself but may charge for additions, extensions, or support.
2. In any product based on the software, the users agree to acknowledge 2. In any product based on the software, the users agree to acknowledge
   the UC Berkeley BSIM Research Group that developed the software. This the UC Berkeley BSIM Research Group that developed the software. This
   acknowledgment shall appear in the product documentation. acknowledgment shall appear in the product documentation.
3. The users agree to obey all U.S. Government restrictions governing 3. The users agree to obey all U.S. Government restrictions governing
   redistribution or export of the software. redistribution or export of the software.
4. The users agree to reproduce any copyright notice which appears on 4. The users agree to reproduce any copyright notice which appears on
   the software on any copy or modification of such made available the software on any copy or modification of such made available
   to others. to others.

View File

@ -1,4 +1,4 @@
The terms under which the software is provided  are as the following. The terms under which the software is provided are as the following.
Software is distributed as is, completely without warranty or service Software is distributed as is, completely without warranty or service
support. The University of California and its employees are not liable support. The University of California and its employees are not liable
@ -15,15 +15,15 @@ and redistribute the software and documentation, both within the user's
organization and externally, subject to the following restrictions organization and externally, subject to the following restrictions
1. The users agree not to charge for the University of California code 1. The users agree not to charge for the University of California code
   itself but may charge for additions, extensions, or support. itself but may charge for additions, extensions, or support.
2. In any product based on the software, the users agree to acknowledge 2. In any product based on the software, the users agree to acknowledge
   the UC Berkeley BSIM Research Group that developed the software. This the UC Berkeley BSIM Research Group that developed the software. This
   acknowledgment shall appear in the product documentation. acknowledgment shall appear in the product documentation.
3. The users agree to obey all U.S. Government restrictions governing 3. The users agree to obey all U.S. Government restrictions governing
   redistribution or export of the software. redistribution or export of the software.
4. The users agree to reproduce any copyright notice which appears on 4. The users agree to reproduce any copyright notice which appears on
   the software on any copy or modification of such made available the software on any copy or modification of such made available
   to others. to others.

View File

@ -94,7 +94,7 @@ static void poly_W(int, int);
static void eval_frequency(int, int); static void eval_frequency(int, int);
static void store(int, int); static void store(int, int);
static void store_SiSv_1(int, int); static void store_SiSv_1(int, int);
/*static int check(); quale è il prototipo ?*/ /*static int check(); quale è il prototipo ?*/
static int coupled(int); static int coupled(int);
static int generate_out(int, int); static int generate_out(int, int);
static int ReadCpL(CPLinstance*, CKTcircuit*); static int ReadCpL(CPLinstance*, CKTcircuit*);

View File

@ -83,7 +83,7 @@ ISRCaccept(CKTcircuit *ckt, GENmodel *inModel)
tshift = TD; tshift = TD;
#ifdef XSPICE #ifdef XSPICE
/* normalize phase to 0 - 360° */ /* normalize phase to 0 - 360° */
/* normalize phase to cycles */ /* normalize phase to cycles */
phase = PHASE / 360.0; phase = PHASE / 360.0;
phase = fmod(phase, 1.0); phase = fmod(phase, 1.0);

View File

@ -83,7 +83,7 @@ VSRCaccept(CKTcircuit *ckt, GENmodel *inModel)
tshift = TD; tshift = TD;
#ifdef XSPICE #ifdef XSPICE
/* normalize phase to 0 - 360° */ /* normalize phase to 0 - 360° */
/* normalize phase to cycles */ /* normalize phase to cycles */
phase = PHASE / 360.0; phase = PHASE / 360.0;
phase = fmod(phase, 1.0); phase = fmod(phase, 1.0);