2460
 2461
 2462
 2463
 2464
 2465
 2466
 2467      DOUBLE PRECISION   ERR, ERRMAX
 2468      COMPLEX*16         X, XTRUE
 2469
 2470
 2471
 2472
 2473
 2474
 2475
 2476
 2477
 2478
 2479
 2480
 2481
 2482
 2483
 2484
 2485
 2486
 2487
 2488
 2489
 2490
 2491
 2492
 2493
 2494
 2495
 2496
 2497
 2498
 2499
 2500
 2501
 2502
 2503
 2504
 2505
 2506
 2507
 2508
 2509
 2510
 2511
 2512
 2513
 2514
 2515
 2516
 2517
 2518
 2519
 2520
 2521
 2522
 2523
 2524
 2525
 2526
 2527
 2528
 2529
 2530
 2531
 2532
 2533
 2534
 2535
 2536
 2537
 2538
 2539
 2540
 2541
 2542
 2543
 2544
 2545
 2546
 2547
 2548
 2549
 2550
 2551
 2552
 2553
 2554
 2555
 2556
 2557
 2558
 2559
 2560
 2561
 2562      DOUBLE PRECISION   PDDIFF
 2564
 2565
 2566      INTRINSIC          abs, dble, dimag, 
max 
 2567
 2568
 2569
 2570      err = abs( 
pddiff( dble( xtrue ), dble( x ) ) )
 
 2571      err = 
max( err, abs( 
pddiff( dimag( xtrue ), dimag( x ) ) ) )
 
 2572
 2573      errmax = 
max( errmax, err )
 
 2574
 2575      RETURN
 2576
 2577
 2578
double precision function pddiff(x, y)