rename half-floats vocab to math.floats.half
parent
4022ceda8d
commit
0ab9046300
|
@ -2,7 +2,7 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: accessors alien.c-types byte-arrays combinators fry
|
USING: accessors alien.c-types byte-arrays combinators fry
|
||||||
grouping images kernel locals math math.vectors
|
grouping images kernel locals math math.vectors
|
||||||
sequences specialized-arrays half-floats ;
|
sequences specialized-arrays math.floats.half ;
|
||||||
FROM: alien.c-types => float ;
|
FROM: alien.c-types => float ;
|
||||||
SPECIALIZED-ARRAY: half
|
SPECIALIZED-ARRAY: half
|
||||||
SPECIALIZED-ARRAY: float
|
SPECIALIZED-ARRAY: float
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
USING: accessors alien.c-types alien.syntax half-floats kernel
|
USING: accessors alien.c-types alien.syntax math.floats.half kernel
|
||||||
math tools.test specialized-arrays alien.data classes.struct ;
|
math tools.test specialized-arrays alien.data classes.struct ;
|
||||||
SPECIALIZED-ARRAY: half
|
SPECIALIZED-ARRAY: half
|
||||||
IN: half-floats.tests
|
IN: math.floats.half.tests
|
||||||
|
|
||||||
[ HEX: 0000 ] [ 0.0 half>bits ] unit-test
|
[ HEX: 0000 ] [ 0.0 half>bits ] unit-test
|
||||||
[ HEX: 8000 ] [ -0.0 half>bits ] unit-test
|
[ HEX: 8000 ] [ -0.0 half>bits ] unit-test
|
|
@ -2,7 +2,7 @@
|
||||||
USING: accessors alien.accessors alien.c-types alien.data
|
USING: accessors alien.accessors alien.c-types alien.data
|
||||||
alien.syntax kernel math math.order ;
|
alien.syntax kernel math math.order ;
|
||||||
FROM: math => float ;
|
FROM: math => float ;
|
||||||
IN: half-floats
|
IN: math.floats.half
|
||||||
|
|
||||||
: half>bits ( float -- bits )
|
: half>bits ( float -- bits )
|
||||||
float>bits
|
float>bits
|
|
@ -4,7 +4,7 @@ assocs classes classes.mixin classes.parser classes.singleton classes.struct
|
||||||
classes.tuple classes.tuple.private combinators combinators.tuple destructors fry
|
classes.tuple classes.tuple.private combinators combinators.tuple destructors fry
|
||||||
generic generic.parser gpu gpu.buffers gpu.framebuffers
|
generic generic.parser gpu gpu.buffers gpu.framebuffers
|
||||||
gpu.framebuffers.private gpu.shaders gpu.shaders.private gpu.state
|
gpu.framebuffers.private gpu.shaders gpu.shaders.private gpu.state
|
||||||
gpu.textures gpu.textures.private half-floats images kernel
|
gpu.textures gpu.textures.private math.floats.half images kernel
|
||||||
lexer locals math math.order math.parser namespaces opengl
|
lexer locals math math.order math.parser namespaces opengl
|
||||||
opengl.gl parser quotations sequences slots sorting
|
opengl.gl parser quotations sequences slots sorting
|
||||||
specialized-arrays strings ui.gadgets.worlds variants
|
specialized-arrays strings ui.gadgets.worlds variants
|
||||||
|
|
|
@ -8,7 +8,7 @@ kernel lexer literals locals math math.parser memoize multiline namespaces
|
||||||
opengl opengl.gl opengl.shaders parser quotations sequences
|
opengl opengl.gl opengl.shaders parser quotations sequences
|
||||||
specialized-arrays splitting strings tr ui.gadgets.worlds
|
specialized-arrays splitting strings tr ui.gadgets.worlds
|
||||||
variants vectors vocabs vocabs.loader vocabs.parser words
|
variants vectors vocabs vocabs.loader vocabs.parser words
|
||||||
words.constant half-floats typed ;
|
words.constant math.floats.half typed ;
|
||||||
QUALIFIED-WITH: alien.c-types c
|
QUALIFIED-WITH: alien.c-types c
|
||||||
SPECIALIZED-ARRAY: int
|
SPECIALIZED-ARRAY: int
|
||||||
SPECIALIZED-ARRAY: void*
|
SPECIALIZED-ARRAY: void*
|
||||||
|
|
Loading…
Reference in New Issue