err.D_LQUANT_STEPTYPE.lqbadinc.d revision 178477
1193323Sed/* 2193323Sed * CDDL HEADER START 3193323Sed * 4193323Sed * The contents of this file are subject to the terms of the 5193323Sed * Common Development and Distribution License (the "License"). 6193323Sed * You may not use this file except in compliance with the License. 7193323Sed * 8193323Sed * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9193323Sed * or http://www.opensolaris.org/os/licensing. 10239462Sdim * See the License for the specific language governing permissions 11193323Sed * and limitations under the License. 12193323Sed * 13193323Sed * When distributing Covered Code, include this CDDL HEADER in each 14193323Sed * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15193323Sed * If applicable, add the following below this CDDL HEADER, with the 16193323Sed * fields enclosed by brackets "[]" replaced with your own identifying 17193323Sed * information: Portions Copyright [yyyy] [name of copyright owner] 18193323Sed * 19193323Sed * CDDL HEADER END 20193323Sed */ 21239462Sdim 22239462Sdim/* 23193323Sed * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24193323Sed * Use is subject to license terms. 25193323Sed */ 26249423Sdim 27193323Sed#pragma ident "%Z%%M% %I% %E% SMI" 28249423Sdim 29201360Srdivacky 30201360Srdivacky/* 31193323Sed * ASSERTION: 32193323Sed * Upper bound must be greater than lower bound argument 33198090Srdivacky * 34198090Srdivacky * SECTION: Aggregations/Aggregations 35193323Sed * 36193323Sed */ 37198090Srdivacky 38198090Srdivacky#pragma D option quiet 39198090Srdivacky 40198090SrdivackyBEGIN 41198090Srdivacky{ 42193323Sed i = 0; 43201360Srdivacky} 44201360Srdivacky 45201360Srdivackytick-1 46201360Srdivacky/i < 1000/ 47249423Sdim{ 48201360Srdivacky @a[i] = lquantize(i, 0, 1100, -100); 49201360Srdivacky i += 100; 50201360Srdivacky} 51201360Srdivacky 52201360Srdivackytick-1 53198090Srdivacky/i == 1000/ 54207618Srdivacky{ 55207618Srdivacky exit(0); 56207618Srdivacky} 57207618Srdivacky