err.D_LQUANT_STEPTYPE.lqbadinc.d revision 178476
1226048Sobrien/* 2159764Sobrien * CDDL HEADER START 3267843Sdelphij * 4159764Sobrien * The contents of this file are subject to the terms of the 5159764Sobrien * Common Development and Distribution License (the "License"). 6159764Sobrien * You may not use this file except in compliance with the License. 7159764Sobrien * 8159764Sobrien * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9159764Sobrien * or http://www.opensolaris.org/os/licensing. 10159764Sobrien * See the License for the specific language governing permissions 11159764Sobrien * and limitations under the License. 12159764Sobrien * 13159764Sobrien * When distributing Covered Code, include this CDDL HEADER in each 14159764Sobrien * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15159764Sobrien * If applicable, add the following below this CDDL HEADER, with the 16159764Sobrien * fields enclosed by brackets "[]" replaced with your own identifying 17159764Sobrien * information: Portions Copyright [yyyy] [name of copyright owner] 18159764Sobrien * 19159764Sobrien * CDDL HEADER END 20159764Sobrien */ 21159764Sobrien 22159764Sobrien/* 23159764Sobrien * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24159764Sobrien * Use is subject to license terms. 25159764Sobrien */ 26159764Sobrien 27159764Sobrien#pragma ident "%Z%%M% %I% %E% SMI" 28159764Sobrien 29159764Sobrien 30159764Sobrien/* 31159764Sobrien * ASSERTION: 32159764Sobrien * Upper bound must be greater than lower bound argument 33159764Sobrien * 34159764Sobrien * SECTION: Aggregations/Aggregations 35159764Sobrien * 36159764Sobrien */ 37159764Sobrien 38159764Sobrien#pragma D option quiet 39159764Sobrien 40159764SobrienBEGIN 41159764Sobrien{ 42159764Sobrien i = 0; 43159764Sobrien} 44159764Sobrien 45159764Sobrientick-1 46159764Sobrien/i < 1000/ 47159764Sobrien{ 48159764Sobrien @a[i] = lquantize(i, 0, 1100, -100); 49159764Sobrien i += 100; 50159764Sobrien} 51159764Sobrien 52159764Sobrientick-1 53159764Sobrien/i == 1000/ 54159764Sobrien{ 55159764Sobrien exit(0); 56159764Sobrien} 57159764Sobrien