Browse Source

refactoring:Vmultiplier3

main
fdai6887 2 years ago
parent
commit
a3864ef992
  1. BIN
      build/test/out/c/funktion.o
  2. BIN
      build/test/out/test_Akkortrichtsatz.out
  3. BIN
      build/test/out/test_Anlagenabnutzungsgrad.out
  4. BIN
      build/test/out/test_Anlagenintensitaet.out
  5. BIN
      build/test/out/test_Anlagenproduktivitaet.out
  6. BIN
      build/test/out/test_Arbeitsproduktivitaet.out
  7. BIN
      build/test/out/test_Cashflow_zu_Gesamtkapital.out
  8. BIN
      build/test/out/test_Dynamische_Amortisationszeit.out
  9. BIN
      build/test/out/test_Effektivverzinsung.out
  10. BIN
      build/test/out/test_Finanzierungsregeln.out
  11. BIN
      build/test/out/test_GewinnMaximum.out
  12. BIN
      build/test/out/test_Kalkulatorische_Zinsen.out
  13. BIN
      build/test/out/test_Kritische_Menge.out
  14. BIN
      build/test/out/test_Stueckzeitakkort.out
  15. BIN
      build/test/out/test_Vadd.out
  16. BIN
      build/test/out/test_Vaddx2.out
  17. BIN
      build/test/out/test_Vaddx3.out
  18. BIN
      build/test/out/test_Vlength.out
  19. BIN
      build/test/out/test_Vmultiplier.out
  20. BIN
      build/test/out/test_Vmultiplier2.out
  21. BIN
      build/test/out/test_Vmultiplier3.out
  22. BIN
      build/test/out/test_Vshift.out
  23. BIN
      build/test/out/test_Vsubstract.out
  24. BIN
      build/test/out/test_Vsubstract2.out
  25. BIN
      build/test/out/test_Vsubstract3.out
  26. BIN
      build/test/out/test_Zeitlohn.out
  27. BIN
      build/test/out/test_angebotserfolg.out
  28. BIN
      build/test/out/test_eigenkapital_Rentabilitaeten.out
  29. BIN
      build/test/out/test_erloesfunktion.out
  30. BIN
      build/test/out/test_gesamtkapital_Rentabilitaeten.out
  31. BIN
      build/test/out/test_grenzGewinn.out
  32. BIN
      build/test/out/test_marktanteil.out
  33. BIN
      build/test/out/test_trapezFlaeche.out
  34. 2
      build/test/results/test_Akkortrichtsatz.pass
  35. 2
      build/test/results/test_Anlagenabnutzungsgrad.pass
  36. 2
      build/test/results/test_Anlagenintensitaet.pass
  37. 2
      build/test/results/test_Anlagenproduktivitaet.pass
  38. 2
      build/test/results/test_Arbeitsproduktivitaet.pass
  39. 2
      build/test/results/test_Cashflow_zu_Gesamtkapital.pass
  40. 2
      build/test/results/test_Dynamische_Amortisationszeit.pass
  41. 2
      build/test/results/test_Effektivverzinsung.pass
  42. 2
      build/test/results/test_Finanzierungsregeln.pass
  43. 2
      build/test/results/test_GewinnMaximum.pass
  44. 2
      build/test/results/test_Kalkulatorische_Zinsen.pass
  45. 2
      build/test/results/test_Kritische_Menge.pass
  46. 2
      build/test/results/test_Stueckzeitakkort.pass
  47. 2
      build/test/results/test_Vadd.pass
  48. 2
      build/test/results/test_Vaddx2.pass
  49. 2
      build/test/results/test_Vaddx3.pass
  50. 2
      build/test/results/test_Vlength.pass
  51. 2
      build/test/results/test_Vmultiplier.pass
  52. 2
      build/test/results/test_Vmultiplier2.pass
  53. 2
      build/test/results/test_Vmultiplier3.pass
  54. 2
      build/test/results/test_Vshift.pass
  55. 2
      build/test/results/test_Vsubstract.pass
  56. 2
      build/test/results/test_Vsubstract2.pass
  57. 2
      build/test/results/test_Vsubstract3.pass
  58. 2
      build/test/results/test_Zeitlohn.pass
  59. 2
      build/test/results/test_angebotserfolg.pass
  60. 2
      build/test/results/test_eigenkapital_Rentabilitaeten.pass
  61. 2
      build/test/results/test_erloesfunktion.pass
  62. 2
      build/test/results/test_gesamtkapital_Rentabilitaeten.pass
  63. 2
      build/test/results/test_grenzGewinn.pass
  64. 2
      build/test/results/test_marktanteil.pass
  65. 2
      build/test/results/test_trapezFlaeche.pass
  66. 5
      src/funktion.c
  67. 3
      src/main.c

BIN
build/test/out/c/funktion.o

BIN
build/test/out/test_Akkortrichtsatz.out

BIN
build/test/out/test_Anlagenabnutzungsgrad.out

BIN
build/test/out/test_Anlagenintensitaet.out

BIN
build/test/out/test_Anlagenproduktivitaet.out

BIN
build/test/out/test_Arbeitsproduktivitaet.out

BIN
build/test/out/test_Cashflow_zu_Gesamtkapital.out

BIN
build/test/out/test_Dynamische_Amortisationszeit.out

BIN
build/test/out/test_Effektivverzinsung.out

BIN
build/test/out/test_Finanzierungsregeln.out

BIN
build/test/out/test_GewinnMaximum.out

BIN
build/test/out/test_Kalkulatorische_Zinsen.out

BIN
build/test/out/test_Kritische_Menge.out

BIN
build/test/out/test_Stueckzeitakkort.out

BIN
build/test/out/test_Vadd.out

BIN
build/test/out/test_Vaddx2.out

BIN
build/test/out/test_Vaddx3.out

BIN
build/test/out/test_Vlength.out

BIN
build/test/out/test_Vmultiplier.out

BIN
build/test/out/test_Vmultiplier2.out

BIN
build/test/out/test_Vmultiplier3.out

BIN
build/test/out/test_Vshift.out

BIN
build/test/out/test_Vsubstract.out

BIN
build/test/out/test_Vsubstract2.out

BIN
build/test/out/test_Vsubstract3.out

BIN
build/test/out/test_Zeitlohn.out

BIN
build/test/out/test_angebotserfolg.out

BIN
build/test/out/test_eigenkapital_Rentabilitaeten.out

BIN
build/test/out/test_erloesfunktion.out

BIN
build/test/out/test_gesamtkapital_Rentabilitaeten.out

BIN
build/test/out/test_grenzGewinn.out

BIN
build/test/out/test_marktanteil.out

BIN
build/test/out/test_trapezFlaeche.out

2
build/test/results/test_Akkortrichtsatz.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 552.000000
:time: 0.0012911559997519362
:time: 0.0016890700007934356

2
build/test/results/test_Anlagenabnutzungsgrad.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.0019098560005659238
:time: 0.0015604999998686253

2
build/test/results/test_Anlagenintensitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4878.048780
:time: 0.0014726829995197477
:time: 0.0012162999992142431

2
build/test/results/test_Anlagenproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 18.203304
:time: 0.0019224850002501626
:time: 0.0012468559998524142

2
build/test/results/test_Arbeitsproduktivitaet.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 60.000000
:time: 0.0012818659997719806
:time: 0.001287804999265063

2
build/test/results/test_Cashflow_zu_Gesamtkapital.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.158038
:time: 0.0020142470002610935
:time: 0.0013746519998676376

2
build/test/results/test_Dynamische_Amortisationszeit.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 189.421906
:time: 0.0013134310001987615
:time: 0.0011843600004795007

2
build/test/results/test_Effektivverzinsung.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 16.034390
:time: 0.0017611009998290683
:time: 0.0014828899993517553

2
build/test/results/test_Finanzierungsregeln.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 0.051041
:time: 0.0013928930002293782
:time: 0.0020255160006854567

2
build/test/results/test_GewinnMaximum.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 251.000000
:time: 0.001308646999859775
:time: 0.004688638000516221

2
build/test/results/test_Kalkulatorische_Zinsen.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1.440000
:time: 0.0013207410001996323
:time: 0.0019926570003008237

2
build/test/results/test_Kritische_Menge.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss -12.096026
:time: 0.0014193870001690811
:time: 0.001440089999960037

2
build/test/results/test_Stueckzeitakkort.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- '96600.000000'
:time: 0.0018349600004512467
:time: 0.0012750730002153432

2
build/test/results/test_Vadd.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0012119709999751649
:time: 0.0019428570003583445

2
build/test/results/test_Vaddx2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0012681789994530845
:time: 0.002937556000688346

2
build/test/results/test_Vaddx3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.001238550999914878
:time: 0.0011702379997586831

2
build/test/results/test_Vlength.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0014226309995137854
:time: 0.0016147529995578225

2
build/test/results/test_Vmultiplier.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0012370129998089396
:time: 0.0013668090005012346

2
build/test/results/test_Vmultiplier2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0013486049992934568
:time: 0.00155162300052325

2
build/test/results/test_Vmultiplier3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.002879390000089188
:time: 0.001541782999993302

2
build/test/results/test_Vshift.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0013579579999714042
:time: 0.0020277769999665907

2
build/test/results/test_Vsubstract.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0011991490000582417
:time: 0.0015898250003374415

2
build/test/results/test_Vsubstract2.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0012789960001100553
:time: 0.001201855000545038

2
build/test/results/test_Vsubstract3.pass

@ -15,4 +15,4 @@
:failed: 0
:ignored: 0
:stdout: []
:time: 0.0012410979998094263
:time: 0.0017088960003093234

2
build/test/results/test_Zeitlohn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 3450.000000
:time: 0.0013285459999679006
:time: 0.001188326000374218

2
build/test/results/test_angebotserfolg.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 225.000000
:time: 0.0013338449998627766
:time: 0.0014427030000661034

2
build/test/results/test_eigenkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 62.500000
:time: 0.001282696000089345
:time: 0.002445236000312434

2
build/test/results/test_erloesfunktion.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 4000.000000
:time: 0.0019819210001514875
:time: 0.0014232940002329997

2
build/test/results/test_gesamtkapital_Rentabilitaeten.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 27.136929
:time: 0.0019890120001946343
:time: 0.001533552999717358

2
build/test/results/test_grenzGewinn.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 1141.000000
:time: 0.0012248909997651936
:time: 0.0013601000000562635

2
build/test/results/test_marktanteil.pass

@ -16,4 +16,4 @@
:ignored: 0
:stdout:
- Testergebniss 21.739130
:time: 0.0013815669999530655
:time: 0.0011345820003043627

2
build/test/results/test_trapezFlaeche.pass

@ -17,4 +17,4 @@
:stdout:
- 'Flaeche vom Trapez beträgt: 21.000000'
- Testergebniss 21.000000
:time: 0.002979441999741539
:time: 0.001296557999921788

5
src/funktion.c

@ -166,7 +166,6 @@ float Vmultiplier2(float x2,float m) {
return result;
}
float Vmultiplier3(float x3,float m) {
x3 = x3 * m;
printf("%f|)\n\n",x3);
return x3;
double result = x3 * m;
return result;
}

3
src/main.c

@ -141,10 +141,7 @@ int main()
m = getValue('M');
Vmultiplier2(x2, m);
printf("z eingeben");
x3 = getValue('X');
printf("Vervielfachung\n\n");
printf("m eingeben");
m = getValue('M');
Vmultiplier3(x3, m);

Loading…
Cancel
Save