Skip to content
Snippets Groups Projects
Select Git revision
  • f682df42dcc6949182d977acdd296ebda712efeb
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
  • v8.0.1978
  • v8.0.1976
  • v8.0.1974
  • v8.0.1972
  • v8.0.1970
  • v8.0.1968
  • v8.0.1966
41 results

docode.c

Blame
    • Henrik (Grubba) Grubbström's avatar
      388e5d9d
      It is now possible to return a reference to the current inherit in this object. · 388e5d9d
      Henrik (Grubba) Grubbström authored
      The third argument to program_magic_identifier() should now be -1 when no inherit has been specified (0 is now reserved for referring to the current inherit).
      This is also reflected in the F_THIS node.
      The F_THIS opcode is now used exclusively to refer to specific inherits.
      Use the F_THIS_OBJECT opcode to refer to the current object.
      
      Rev: src/docode.c:1.201
      Rev: src/interpret_functions.h:1.204
      Rev: src/language.yacc:1.426
      Rev: src/las.c:1.415
      Rev: src/peep.in:1.83
      Rev: src/program.c:1.710
      388e5d9d
      History
      It is now possible to return a reference to the current inherit in this object.
      Henrik (Grubba) Grubbström authored
      The third argument to program_magic_identifier() should now be -1 when no inherit has been specified (0 is now reserved for referring to the current inherit).
      This is also reflected in the F_THIS node.
      The F_THIS opcode is now used exclusively to refer to specific inherits.
      Use the F_THIS_OBJECT opcode to refer to the current object.
      
      Rev: src/docode.c:1.201
      Rev: src/interpret_functions.h:1.204
      Rev: src/language.yacc:1.426
      Rev: src/las.c:1.415
      Rev: src/peep.in:1.83
      Rev: src/program.c:1.710
    float 947 B
    NAME
    	float - floating point numbers
    
    SYNTAX EXAMPLE
    	0.9
    	1.0
    	2.7e7
    
    DESCRIPTION
    	This type stores a floating point number, normally it use 4 bytes
    	of storage when used in a global variable.
    
    	A list of operators that applies to floats follows:
    	In this list a and b is used to represent a float expression:
    
    	a + b	summation
    	a - b	subtraction
    	a * b	multiplication
    	a / b	division
    	a % b	modulo ( same thing as  a - floor( a / b ) * b )
    	- a	negation
    	a == b	return 1 if a is equal to b, 0 otherwise
    	a != b	return 0 if a is equal to b, 1 otherwise
    	a < b	returns 1 if a is lesser than b, 0 otherwise
    	a <= b	returns 1 if a is lesser or equal to b, 0 otherwise
    	a > b	returns 1 if a is greater than b, 0 otherwise
    	a >= b	returns 1 if a is greater or equal to b, 0 otherwise
    
    NOTA BENE
    	floats and ints cannot be used together, they have to be cast
    	to the same type first.
    
    KEYWORDS
    	types
    
    SEE ALSO
    	math/sin, math/cos, math/tan, math/sqrt