Changeset 834 for sans/XOP_Dev/SANSAnalysis/XOP/Cylinder.c
 Timestamp:
 Jan 31, 2012 12:13:39 PM (11 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

sans/XOP_Dev/SANSAnalysis/XOP/Cylinder.c
r507 r834 15 15 16 16 Warning: 17 The call to WaveData() below returns a pointer to the middle17 The call to (float*)WaveData() below returns a pointer to the middle 18 18 of an unlocked Macintosh handle. In the unlikely event that your 19 19 calculations could cause memory to move, you should copy the coefficient … … 36 36 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 37 37 case NT_FP32: 38 fp= WaveData(p>waveHandle);39 SetNaN64(&p>result); 40 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 41 case NT_FP64: 42 dp= WaveData(p>waveHandle);38 fp= (float*)WaveData(p>waveHandle); 39 SetNaN64(&p>result); 40 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 41 case NT_FP64: 42 dp= (double*)WaveData(p>waveHandle); 43 43 p>result = CylinderForm(dp,q); 44 44 return 0; … … 56 56 57 57 Warning: 58 The call to WaveData() below returns a pointer to the middle58 The call to (float*)WaveData() below returns a pointer to the middle 59 59 of an unlocked Macintosh handle. In the unlikely event that your 60 60 calculations could cause memory to move, you should copy the coefficient … … 77 77 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 78 78 case NT_FP32: 79 fp= WaveData(p>waveHandle);80 SetNaN64(&p>result); 81 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 82 case NT_FP64: 83 dp= WaveData(p>waveHandle);79 fp= (float*)WaveData(p>waveHandle); 80 SetNaN64(&p>result); 81 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 82 case NT_FP64: 83 dp= (double*)WaveData(p>waveHandle); 84 84 p>result = EllipCyl76(dp,q); 85 85 return 0; … … 98 98 99 99 Warning: 100 The call to WaveData() below returns a pointer to the middle100 The call to (float*)WaveData() below returns a pointer to the middle 101 101 of an unlocked Macintosh handle. In the unlikely event that your 102 102 calculations could cause memory to move, you should copy the coefficient … … 119 119 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 120 120 case NT_FP32: 121 fp= WaveData(p>waveHandle);122 fp= WaveData(p>waveHandle);123 SetNaN64(&p>result); 124 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 125 case NT_FP64: 126 dp= WaveData(p>waveHandle);121 fp= (float*)WaveData(p>waveHandle); 122 fp= (float*)WaveData(p>waveHandle); 123 SetNaN64(&p>result); 124 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 125 case NT_FP64: 126 dp= (double*)WaveData(p>waveHandle); 127 127 128 128 p>result = EllipCyl20(dp,q); … … 141 141 142 142 Warning: 143 The call to WaveData() below returns a pointer to the middle143 The call to (float*)WaveData() below returns a pointer to the middle 144 144 of an unlocked Macintosh handle. In the unlikely event that your 145 145 calculations could cause memory to move, you should copy the coefficient … … 162 162 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 163 163 case NT_FP32: 164 fp= WaveData(p>waveHandle);165 SetNaN64(&p>result); 166 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 167 case NT_FP64: 168 dp= WaveData(p>waveHandle);164 fp= (float*)WaveData(p>waveHandle); 165 SetNaN64(&p>result); 166 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 167 case NT_FP64: 168 dp= (double*)WaveData(p>waveHandle); 169 169 170 170 p>result = TriaxialEllipsoid(dp,q); … … 184 184 185 185 Warning: 186 The call to WaveData() below returns a pointer to the middle186 The call to (float*)WaveData() below returns a pointer to the middle 187 187 of an unlocked Macintosh handle. In the unlikely event that your 188 188 calculations could cause memory to move, you should copy the coefficient … … 205 205 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 206 206 case NT_FP32: 207 fp= WaveData(p>waveHandle);208 SetNaN64(&p>result); 209 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 210 case NT_FP64: 211 dp= WaveData(p>waveHandle);207 fp= (float*)WaveData(p>waveHandle); 208 SetNaN64(&p>result); 209 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 210 case NT_FP64: 211 dp= (double*)WaveData(p>waveHandle); 212 212 213 213 p>result = Parallelepiped(dp,q); … … 227 227 228 228 Warning: 229 The call to WaveData() below returns a pointer to the middle229 The call to (float*)WaveData() below returns a pointer to the middle 230 230 of an unlocked Macintosh handle. In the unlikely event that your 231 231 calculations could cause memory to move, you should copy the coefficient … … 248 248 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 249 249 case NT_FP32: 250 fp= WaveData(p>waveHandle);251 SetNaN64(&p>result); 252 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 253 case NT_FP64: 254 dp= WaveData(p>waveHandle);250 fp= (float*)WaveData(p>waveHandle); 251 SetNaN64(&p>result); 252 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 253 case NT_FP64: 254 dp= (double*)WaveData(p>waveHandle); 255 255 256 256 p>result = HollowCylinder(dp,q); … … 270 270 271 271 Warning: 272 The call to WaveData() below returns a pointer to the middle272 The call to (float*)WaveData() below returns a pointer to the middle 273 273 of an unlocked Macintosh handle. In the unlikely event that your 274 274 calculations could cause memory to move, you should copy the coefficient … … 291 291 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 292 292 case NT_FP32: 293 fp= WaveData(p>waveHandle);294 SetNaN64(&p>result); 295 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 296 case NT_FP64: 297 dp= WaveData(p>waveHandle);293 fp= (float*)WaveData(p>waveHandle); 294 SetNaN64(&p>result); 295 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 296 case NT_FP64: 297 dp= (double*)WaveData(p>waveHandle); 298 298 299 299 p>result = EllipsoidForm(dp,q); … … 329 329 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 330 330 case NT_FP32: 331 fp= WaveData(p>waveHandle);332 SetNaN64(&p>result); 333 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 334 case NT_FP64: 335 dp= WaveData(p>waveHandle);331 fp= (float*)WaveData(p>waveHandle); 332 SetNaN64(&p>result); 333 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 334 case NT_FP64: 335 dp= (double*)WaveData(p>waveHandle); 336 336 337 337 p>result = Cyl_PolyRadius(dp,q); … … 365 365 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 366 366 case NT_FP32: 367 fp= WaveData(p>waveHandle);368 SetNaN64(&p>result); 369 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 370 case NT_FP64: 371 dp= WaveData(p>waveHandle);367 fp= (float*)WaveData(p>waveHandle); 368 SetNaN64(&p>result); 369 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 370 case NT_FP64: 371 dp= (double*)WaveData(p>waveHandle); 372 372 373 373 p>result = Cyl_PolyLength(dp,q); … … 403 403 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 404 404 case NT_FP32: 405 fp= WaveData(p>waveHandle);406 SetNaN64(&p>result); 407 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 408 case NT_FP64: 409 dp= WaveData(p>waveHandle);405 fp= (float*)WaveData(p>waveHandle); 406 SetNaN64(&p>result); 407 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 408 case NT_FP64: 409 dp= (double*)WaveData(p>waveHandle); 410 410 411 411 p>result = CoreShellCylinder(dp,q); … … 440 440 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 441 441 case NT_FP32: 442 fp= WaveData(p>waveHandle);443 SetNaN64(&p>result); 444 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 445 case NT_FP64: 446 dp= WaveData(p>waveHandle);442 fp= (float*)WaveData(p>waveHandle); 443 SetNaN64(&p>result); 444 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 445 case NT_FP64: 446 dp= (double*)WaveData(p>waveHandle); 447 447 448 448 p>result = PolyCoShCylinder(dp,q); … … 475 475 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 476 476 case NT_FP32: 477 fp= WaveData(p>waveHandle);478 SetNaN64(&p>result); 479 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 480 case NT_FP64: 481 dp= WaveData(p>waveHandle);477 fp= (float*)WaveData(p>waveHandle); 478 SetNaN64(&p>result); 479 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 480 case NT_FP64: 481 dp= (double*)WaveData(p>waveHandle); 482 482 483 483 p>result = OblateForm(dp,q); … … 511 511 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 512 512 case NT_FP32: 513 fp= WaveData(p>waveHandle);514 SetNaN64(&p>result); 515 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 516 case NT_FP64: 517 dp= WaveData(p>waveHandle);513 fp= (float*)WaveData(p>waveHandle); 514 SetNaN64(&p>result); 515 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 516 case NT_FP64: 517 dp= (double*)WaveData(p>waveHandle); 518 518 519 519 p>result = ProlateForm(dp,q); … … 547 547 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 548 548 case NT_FP32: 549 fp= WaveData(p>waveHandle);550 SetNaN64(&p>result); 551 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 552 case NT_FP64: 553 dp= WaveData(p>waveHandle);549 fp= (float*)WaveData(p>waveHandle); 550 SetNaN64(&p>result); 551 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 552 case NT_FP64: 553 dp= (double*)WaveData(p>waveHandle); 554 554 p>result = StackedDiscs(dp,q); 555 555 return 0; … … 581 581 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 582 582 case NT_FP32: 583 fp= WaveData(p>waveHandle);584 SetNaN64(&p>result); 585 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 586 case NT_FP64: 587 dp= WaveData(p>waveHandle);583 fp= (float*)WaveData(p>waveHandle); 584 SetNaN64(&p>result); 585 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 586 case NT_FP64: 587 dp= (double*)WaveData(p>waveHandle); 588 588 p>result = LamellarFF(dp,q); 589 589 return 0; … … 614 614 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 615 615 case NT_FP32: 616 fp= WaveData(p>waveHandle);617 SetNaN64(&p>result); 618 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 619 case NT_FP64: 620 dp= WaveData(p>waveHandle);616 fp= (float*)WaveData(p>waveHandle); 617 SetNaN64(&p>result); 618 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 619 case NT_FP64: 620 dp= (double*)WaveData(p>waveHandle); 621 621 p>result = LamellarPS(dp,q); 622 622 return 0; … … 648 648 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 649 649 case NT_FP32: 650 fp= WaveData(p>waveHandle);651 SetNaN64(&p>result); 652 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 653 case NT_FP64: 654 dp= WaveData(p>waveHandle);650 fp= (float*)WaveData(p>waveHandle); 651 SetNaN64(&p>result); 652 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 653 case NT_FP64: 654 dp= (double*)WaveData(p>waveHandle); 655 655 p>result = LamellarPS_HG(dp,q); 656 656 return 0; … … 682 682 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 683 683 case NT_FP32: 684 fp= WaveData(p>waveHandle);685 SetNaN64(&p>result); 686 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 687 case NT_FP64: 688 dp= WaveData(p>waveHandle);684 fp= (float*)WaveData(p>waveHandle); 685 SetNaN64(&p>result); 686 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 687 case NT_FP64: 688 dp= (double*)WaveData(p>waveHandle); 689 689 p>result = LamellarFF_HG(dp,q); 690 690 return 0; … … 716 716 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 717 717 case NT_FP32: 718 fp= WaveData(p>waveHandle);719 SetNaN64(&p>result); 720 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 721 case NT_FP64: 722 dp= WaveData(p>waveHandle);718 fp= (float*)WaveData(p>waveHandle); 719 SetNaN64(&p>result); 720 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 721 case NT_FP64: 722 dp= (double*)WaveData(p>waveHandle); 723 723 p>result = FlexExclVolCyl(dp,q); 724 724 return 0; … … 750 750 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 751 751 case NT_FP32: 752 fp= WaveData(p>waveHandle);753 SetNaN64(&p>result); 754 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 755 case NT_FP64: 756 dp= WaveData(p>waveHandle);752 fp= (float*)WaveData(p>waveHandle); 753 SetNaN64(&p>result); 754 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 755 case NT_FP64: 756 dp= (double*)WaveData(p>waveHandle); 757 757 p>result = FlexCyl_Ellip(dp,q); 758 758 return 0; … … 784 784 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 785 785 case NT_FP32: 786 fp= WaveData(p>waveHandle);787 SetNaN64(&p>result); 788 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 789 case NT_FP64: 790 dp= WaveData(p>waveHandle);786 fp= (float*)WaveData(p>waveHandle); 787 SetNaN64(&p>result); 788 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 789 case NT_FP64: 790 dp= (double*)WaveData(p>waveHandle); 791 791 p>result = FlexCyl_PolyLen(dp,q); 792 792 return 0; … … 818 818 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 819 819 case NT_FP32: 820 fp= WaveData(p>waveHandle);821 SetNaN64(&p>result); 822 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 823 case NT_FP64: 824 dp= WaveData(p>waveHandle);820 fp= (float*)WaveData(p>waveHandle); 821 SetNaN64(&p>result); 822 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 823 case NT_FP64: 824 dp= (double*)WaveData(p>waveHandle); 825 825 p>result = FlexCyl_PolyRad(dp,q); 826 826 return 0; … … 851 851 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 852 852 case NT_FP32: 853 fp= WaveData(p>waveHandle);854 SetNaN64(&p>result); 855 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 856 case NT_FP64: 857 dp= WaveData(p>waveHandle);853 fp= (float*)WaveData(p>waveHandle); 854 SetNaN64(&p>result); 855 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 856 case NT_FP64: 857 dp= (double*)WaveData(p>waveHandle); 858 858 p>result = Spherocylinder(dp,q); 859 859 return 0; … … 884 884 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 885 885 case NT_FP32: 886 fp= WaveData(p>waveHandle);887 SetNaN64(&p>result); 888 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 889 case NT_FP64: 890 dp= WaveData(p>waveHandle);886 fp= (float*)WaveData(p>waveHandle); 887 SetNaN64(&p>result); 888 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 889 case NT_FP64: 890 dp= (double*)WaveData(p>waveHandle); 891 891 p>result = ConvexLens(dp,q); 892 892 return 0; … … 917 917 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 918 918 case NT_FP32: 919 fp= WaveData(p>waveHandle);920 SetNaN64(&p>result); 921 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 922 case NT_FP64: 923 dp= WaveData(p>waveHandle);919 fp= (float*)WaveData(p>waveHandle); 920 SetNaN64(&p>result); 921 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 922 case NT_FP64: 923 dp= (double*)WaveData(p>waveHandle); 924 924 p>result = Dumbbell(dp,q); 925 925 return 0; … … 950 950 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 951 951 case NT_FP32: 952 fp= WaveData(p>waveHandle);953 SetNaN64(&p>result); 954 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 955 case NT_FP64: 956 dp= WaveData(p>waveHandle);952 fp= (float*)WaveData(p>waveHandle); 953 SetNaN64(&p>result); 954 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 955 case NT_FP64: 956 dp= (double*)WaveData(p>waveHandle); 957 957 p>result = CappedCylinder(dp,q); 958 958 return 0; … … 983 983 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 984 984 case NT_FP32: 985 fp= WaveData(p>waveHandle);986 SetNaN64(&p>result); 987 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 988 case NT_FP64: 989 dp= WaveData(p>waveHandle);985 fp= (float*)WaveData(p>waveHandle); 986 SetNaN64(&p>result); 987 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 988 case NT_FP64: 989 dp= (double*)WaveData(p>waveHandle); 990 990 p>result = Barbell(dp,q); 991 991 return 0; … … 1016 1016 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 1017 1017 case NT_FP32: 1018 fp= WaveData(p>waveHandle);1019 SetNaN64(&p>result); 1020 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 1021 case NT_FP64: 1022 dp= WaveData(p>waveHandle);1018 fp= (float*)WaveData(p>waveHandle); 1019 SetNaN64(&p>result); 1020 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 1021 case NT_FP64: 1022 dp= (double*)WaveData(p>waveHandle); 1023 1023 p>result = Lamellar_ParaCrystal(dp,q); 1024 1024 return 0; … … 1048 1048 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 1049 1049 case NT_FP32: 1050 fp= WaveData(p>waveHandle);1051 SetNaN64(&p>result); 1052 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 1053 case NT_FP64: 1054 dp= WaveData(p>waveHandle);1050 fp= (float*)WaveData(p>waveHandle); 1051 SetNaN64(&p>result); 1052 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 1053 case NT_FP64: 1054 dp= (double*)WaveData(p>waveHandle); 1055 1055 p>result = PolyCoreBicelle(dp,q); 1056 1056 return 0; … … 1077 1077 switch(WaveType(p>waveHandle)){ // We can handle single and double precision coefficient waves. 1078 1078 case NT_FP32: 1079 fp= WaveData(p>waveHandle);1080 SetNaN64(&p>result); 1081 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 1082 case NT_FP64: 1083 dp= WaveData(p>waveHandle);1079 fp= (float*)WaveData(p>waveHandle); 1080 SetNaN64(&p>result); 1081 return REQUIRES_SP_OR_DP_WAVE; //not quite true, but good enough for now AJJ 4/23/07 1082 case NT_FP64: 1083 dp= (double*)WaveData(p>waveHandle); 1084 1084 p>result = CSParallelepiped(dp,q); 1085 1085 return 0;
Note: See TracChangeset
for help on using the changeset viewer.